Method for flexible coordinated operation of urban distribution network and watershed network

ABSTRACT

A method for flexible coordinated operation of an urban distribution network and a watershed network, including: constructing a watershed network dynamic operation model; constructing a river water storage model a lake water storage model based on the watershed network dynamic operation model; constructing a distribution network linear alternating-current (AC) power flow model and an operating power-flow rate operation model of the pump stations to obtain a coordinated operation model of the urban distribution network and the watershed network; constructing a watershed-electricity composite sensitivity matrix; quantifying a time-varying adjustable power domain of each pump station through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix; constructing a power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network; and performing electricity-water energy flow interactive optimization involving a flexible resource of the pump stations.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of priority from Chinese Patent Application No. 202211081610.X, filed on Sep. 6, 2022. The content of the aforementioned application, including any intervening amendments thereto, is incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present application relates to power distribution networks, and more particularly to a method for flexible coordinated operation of an urban distribution network and a watershed network.

BACKGROUND

Electric-driven drainage pump stations are important water pumping facilities in the watershed network, which can convert electrical energy into hydraulic energy for drainage or water supply. It has been published by the International Energy Agency (IEA) that 4% of the world's electricity generation is consumed by the pump station load of the watershed network, and the electricity consumption of electric-driven drainage pump equipment accounts for about 90% of the total energy consumption of the watershed network. Therefore, the urban distribution network is closely coupled with the watershed network to form an electricity-watershed interconnection network.

Under rainy climates, the electrical load of pump stations will generally experience a sharp increase to avoid the overflow of tributaries. Especially in the summer with frequent rainfall, the sharp load increase of the pump stations overlaps with the peak load of the air conditioner cluster, which enlarges the peak-valley load difference of the power distribution system, and poses challenges to the secure and economic operation of the power distribution system and the peak shaving.

The watershed network has natural water storage capacity, and can temporarily store rainwater in rivers and lakes. The pump stations can pump part of the overflow water from the tributary channels to the main channel in advance, so that the load of the pump stations can be reduced or shifted to the off-peak period in the peak period of the distribution network. Accordingly, the watershed network can provide abundant flexible resources for the operation of the distribution network to alleviate the pressure of energy supply during the peak period. Through the flexible coordinated operation of the urban distribution network and watershed network, the peak shaving and valley filling of power consumption profile and supply-demand dynamic balance of the distribution network can be realized easily under rainy climates.

By means of the natural water storage capacity of rivers and lakes, the watershed network can enhance the spatio-temporal drainage flexibility of the electric-driven pump stations, so as to provide abundant and adjustable low-cost flexible resources for the distribution networks. Unfortunately, considering the dynamic characteristics of the watershed network and uneven spatio-temporal distribution of rainfall, it is difficult to accurately quantify the impact of power increment of the pump station on the river water level and flow rate, and it is also difficult to reliably evaluate the spatio-temporal flexibility of the electric-driven pump station. In addition, the complex hydrodynamic characteristics of the watershed network are characterized by a set of nonlinear hyperbolic partial differential equations, resulting in the presence of a large number of nonlinear partial differential constraints in the hydraulic energy flow optimization model of the watershed network. It is difficult to solve the high-dimensional nonlinear optimization model by the existing optimization algorithms.

Therefore, it is urgently needed to provide a method for flexible coordinated operation of the urban distribution network and watershed network to evaluate and quantify the spatio-temporal flexible resources for the load of the electric-driven drainage pump stations, and to optimize the electricity-water energy flow to fully exert the flexible resources of the watershed network, so as to relieve the power supply pressure of the distribution network during the peak period and facilitate the secure and economic operation of the distribution network.

SUMMARY

An object of this disclosure is to provide a method for flexible coordinated operation of an urban distribution network and a watershed network to evaluate and quantify the spatio-temporal flexible resources for a load of the electric-driven drainage pump station.

Technical solutions of this application are specifically described as follows.

In a first aspect, this application provides a system for flexible coordinated operation of an urban distribution network and a watershed network, comprising:

one or more generators configured to provide electrical energy to one or more drainage pump stations distributed in the watershed network;

a distribution network coupled to the one or more generators, the one or more drainage pump stations and a main grid, wherein the distribution network is configured to transmit electrical energy; and

a controller;

wherein the controller comprises a processor and a memory coupled to the processor; and the controller is in communication with the one or more generators, the one or more drainage pump stations, and the main grid;

wherein the controller is configured to perform:

(a) constructing a watershed network dynamic operation model based on a de Saint-Venant nonlinear-hyperbolic-partial differential equation system;

(b) constructing a river water storage model and a lake water storage model based on the watershed network dynamic operation model;

(c) constructing a distribution network linear alternating-current (AC) power flow model; and based on the watershed network dynamic operation model and the distribution network linear AC power flow model, constructing an operating power-flow rate operation model of the one or more drainage pump stations to obtain a coordinated operation model of the urban distribution network and the watershed network;

(d) constructing a watershed-electricity composite sensitivity matrix by using Taylor series expansion to reflect a mathematical relationship between variation of water level at individual points of the watershed network and a power increment of the one or more drainage pump stations, and a mathematical relationship between variation of flow rate at individual points of the watershed network and the power increment of the one or more drainage pump stations;

(e) quantifying a time-varying adjustable power domain of a load of each of the one or more drainage pump stations through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix;

(f) constructing a power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network; and converting a non-convex nonlinear hydraulic energy flow optimization problem into a mixed-integer linear programming problem through a multidimensional piecewise linearization method; and

(g) based on the coordinated operation model, the time-varying adjustable power domain, the flexibility assessment method, the power flow optimization model and the hydraulic energy flow optimization model, performing electricity-water energy flow interactive optimization involving a flexible resource of the one or more drainage pump stations to realize the flexible coordinated operation of the urban distribution network and the watershed network.

In a second aspect, this application provides a method for flexible coordinated operation of an urban distribution network and a watershed network, comprising:

(a) constructing a watershed network dynamic operation model based on a de Saint-Venant nonlinear-hyperbolic-partial differential equation system;

(b) constructing a river water storage model and a lake water storage model based on the watershed network dynamic operation model;

(c) constructing a distribution network linear AC power flow model; and based on the watershed network dynamic operation model and the distribution network linear AC power flow model, constructing an operating power-flow rate operation model of the one or more drainage pump stations to obtain a coordinated operation model of the urban distribution network and the watershed network;

(d) constructing a watershed-electricity composite sensitivity matrix by using Taylor series expansion to reflect a mathematical relationship between variation of water level at individual points of the watershed network and a power increment of the one or more drainage pump stations, and a mathematical relationship between variation of flow rate at individual points of the watershed network and the power increment of the one or more drainage pump stations;

(e) quantifying a time-varying adjustable power domain of a load of each of the one or more drainage pump stations through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix, wherein the time-varying adjustable power domain is quantified through steps of:

estimating the time-varying adjustable power domain of each of the one or more drainage pump stations;

successively calculating the watershed-electricity composite sensitivity and an adjustment amount; and correcting the time-varying adjustable power domain until there is no water level out of a preset limit;

(f) constructing a power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network; and converting a non-convex nonlinear hydraulic energy flow optimization problem into a mixed-integer linear programming problem through a multidimensional piecewise linearization method; and

(g) based on the coordinated operation model, the time-varying adjustable power domain, the flexibility assessment method, the power flow optimization model and the hydraulic energy flow optimization model, performing electricity-water energy flow interactive optimization involving a flexible resource of the one or more drainage pump stations to realize the flexible coordinated operation of the urban distribution network and the watershed network.

In some embodiments, step (a) comprises:

characterizing water level and flow rate states along a channel by the de Saint-Venant nonlinear-hyperbolic-partial differential equation system to obtain a mass conservation equation and a momentum conservation equation, wherein the mass conservation equation is expressed as:

$\begin{matrix} {{{\frac{\partial A}{\partial t} + \frac{\partial Q}{\partial x}} = r};} & (1) \end{matrix}$

and

the momentum conservation equation is expressed as:

$\begin{matrix} {{{\frac{\partial Q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack \frac{Q^{2}}{A} \right\rbrack} + {{gA}\frac{\partial H}{\partial x}}} = {g{A\left( {S_{b} - S_{f}} \right)}}};} & (2) \end{matrix}$

wherein S_(f) is expressed as:

$\begin{matrix} {{S_{f} = {\left( {M^{2}Q{❘Q❘}l^{\frac{4}{3}}} \right)/A^{\frac{10}{3}}}};} & (3) \end{matrix}$

wherein t is time; x represents a longitudinal distance along the channel direction; Q represents volumetric flow rate; A represents a cross-sectional area of a water flow; H represents a water level; g is gravitational acceleration; S_(b) represents a river bed slope; S_(f) represents a friction slope; M represents Manning coefficient; l represents channel wetted perimeter; and r represents rainfall intensity.

In some embodiments, step (a) further comprises:

simplifying the mass conservation equation to:

$\begin{matrix} {{{\frac{\partial H}{\partial t} + \frac{\partial q}{\partial x}} = \frac{r}{B}};} & (4) \end{matrix}$

simplifying the momentum conservation equation to:

$\begin{matrix} {{{\frac{\partial q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack {\frac{q^{2}}{H} + \frac{gH^{2}}{2}} \right\rbrack}} = {g\left\lbrack {S_{b} - \frac{M^{2}{q^{2}\left( {{2H} + B} \right)}^{4/3}}{H^{7/3}B^{4/3}}} \right\rbrack}};} & (5) \end{matrix}$

wherein B represents a channel width; A=BH; Q=BHV; V represents a flow velocity; l=B+2H; q represents a flow rate per unit channel width;

obtaining an approximate discrete form of the de Saint-Venant nonlinear-hyperbolic-partial differential equation system by using a Preissmann four-point implicit scheme;

dividing a continuous spatio-temporal domain C={(x, t)|0≤x≤L, 0≤t≤T} into a plurality of rectangular grids according to a spatial step Δx and a time step Δt, wherein L represents a channel length; T represents a finite time horizon; individual vertices at each of the plurality of rectangular grids are indexed as (j, n); n represents a time index; j represents a spatial index; T^(w)={0, 1, 2, . . . , N}, representing a time index set; N represents a maximum time index; L^(w)={0, 1, 2, . . . , J}, representing a spatial index set; J represents a maximum spatial index; Dt=T/N; Dx=L/J; and (j, n)∈L^(w)×T^(w);

performing spatio-temporal discretization on equations (4) and (5) based on the Preissmann four-point implicit scheme to obtain equations (6)-(9):

$\begin{matrix} {{{f_{1}\left( {H_{j + 1}^{n + 1},H_{j}^{n + 1},q_{j + 1}^{n + 1},q_{j}^{n + 1}} \right)}:={{\frac{H_{j + 1}^{n + 1} - H_{j + 1}^{n} + H_{j}^{n + 1} - H_{j}^{n}}{2\Delta t} + {\theta\left( \frac{q_{j + 1}^{n + 1} - q_{j}^{n + 1}}{\Delta x} \right)} + {\left( {1 - \theta} \right)\left( \frac{q_{j + 1}^{n} - q_{j}^{n}}{\Delta x} \right)} - {\frac{1}{B}\left\lbrack {{\frac{\theta}{2}\left( {r_{j + 1}^{n + 1} + r_{j}^{n + 1}} \right)} + {\frac{1 - \theta}{2}\left( {r_{j + 1}^{n} + r_{j}^{n}} \right)}} \right\rbrack}} = 0}};} & (6) \end{matrix}$ $\begin{matrix} {{{f_{2}\left( {H_{j + 1}^{n + 1},H_{j}^{n + 1},q_{j + 1}^{n + 1},q_{j}^{n + 1}} \right)}:={{\frac{q_{j + 1}^{n + 1} - q_{j + 1}^{n} + q_{j}^{n + 1} - q_{j}^{n}}{2\Delta t} - {\theta\left( {I_{j + 1}^{n + 1} + R_{j}^{n + 1}} \right)} - {gS}_{b} - {\left( {1 - \theta} \right)\left( {I_{j + 1}^{n} + R_{j}^{n}} \right)}} = 0}};} & (7) \end{matrix}$ $\begin{matrix} {{I_{j}^{n} = \left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} - {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} - \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right)};{and}} & (8) \end{matrix}$ $\begin{matrix} {{R_{j}^{n} = \left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} + {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} + \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right)};} & (9) \end{matrix}$

wherein θ represents a weight coefficient to ensure unconditional stability, and is selected from [0,1]; if θ≥0.5, the Preissmann four-point implicit scheme is unconditionally stable; H_(j+1) ^(n+1) represents a water level at point (j+1, n+1); H_(j) ^(n+1) represents a water level at point (j, n+1); q_(j) ^(n+1) represents a flow rate per unit channel width at the point (j+1, n+1); q_(j) ⁺ represents a flow rate per unit channel width at the point (j, n+1); q_(j) ^(n) represents a flow rate per unit channel width at point (j, n); r_(j+1) ^(n+1) represents a rainfall intensity at the point (j+1, n+1); r_(j) ^(n+1) represents a rainfall intensity at the point (j, n+1); I_(j+1) ^(n+1) represents an I value defined by equation (8) at the point (j+1, n+1); R_(j) ^(n+1) represents an R value defined by equation (9) at the point (j, n+1); and B represents a channel width at the point (j, n);

performing spatio-temporal discretization on each channel in the watershed network based on Preissmann four-point implicit scheme according to equations (6)-(9);

determining an initial condition and a boundary condition to ensure closure and uniqueness of equations (6)-(9) with spatio-temporal discretization;

wherein the initial condition comprises an initial water level distribution and an initial flow rate distribution observed by a hydrological station, expressed as:

H _(j,I) ⁰ =H _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (10),

q _(j,I) ⁰ =q _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (11); and

the boundary condition comprises an upstream boundary condition and a downstream boundary condition, expressed as:

ƒ_(I) ^(u)=ƒ(H _(1,I) ^(n) ,q _(1,I) ^(n)),ƒ_(I) ^(d)=ƒ(H _(J) _(I) _(,I) ,q _(J) _(I) _(,I) ^(n)),∀n∈T ^(w) ,∀I∈Ω  (12),

wherein H_(j,I) ^(n) represents a water level of channel I at the point (j, n); q_(j,I) ^(n) represents a flow rate of the channel I at the point (j, n); H_(j,I) ⁰ represents a water level of the channel I at point (j, 0); q_(j,I) ^(n) represents a flow rate of the channel I at the point (j, 0); Ω represents a channel set; H_(I) ^(ini)(x) represents a given initial water level of the channel I along direction x; q_(I) ^(ini)(x) represents a given initial flow rate of the channel I along the direction x; f_(I) ^(u) represents an upstream boundary condition of the channel I; f_(I) ^(d) represents a downstream boundary condition of the channel I; L_(I) ^(w)={0, 1, 2, . . . , J_(I)}, representing a spatial index set of the channel I; and J, represents a maximum spatial index of the channel I;

limiting flow rate and water level respectively to a preset range, expressed as:

Q _(I) ^(min) ≤B _(I) q _(j,I) ^(n) ≤Q _(I) ^(max) ,H _(I) ^(min) ≤H _(j,I) ^(n) ≤H _(I) ^(max) ,∀I∈Ω,∀n∈T ^(w) ,∀j∈L _(I) ^(w)  (13),

wherein B_(I) represents a width of the channel I; Q_(I) ^(max) represents an upper bound of a flow rate of the channel I; H_(I) ^(max) represents an upper bound of a water level of the channel I; Q_(I) ^(max) represents a lower bound of the flow rate of the channel I; and H_(I) ^(min) represents a lower bound of the water level of the channel I; and

water levels of channels are the same at a confluent node z, expressed as:

H _(j,m) ^(n) =H _(j,i) ^(n) ,∀m∈Ω _(z+) ,∀i∈Ω _(z−) ,∀n∈T ^(w) ,∀z∈Z  (14); and

considering that an inflow of the confluent node z is equal to an outflow of the confluent node z according to mass conservation principle, deducing equation (15):

$\begin{matrix} {{{{\sum\limits_{m \in \Omega_{{\mathcal{z}} +}}{q_{J_{m},m}^{n}B_{m}}} + {\sum\limits_{k \in P_{\mathcal{z}}}{\alpha_{k,n}^{p}q_{k,n}^{p}}}} = {\sum\limits_{i \in \Omega_{{\mathcal{z}} -}}{q_{0,i}^{n}B_{i}}}},{\forall{n \in T^{w}}},{{\forall{{\mathcal{z}} \in Z}};}} & (15) \end{matrix}$

wherein Z represents a confluent node set of the watershed network; Q_(z+) represents a set of channels that flow into the confluent node z; Q_(z−) represents a set of channels that flow out from the confluent node z; q represents a flow rate of a pump station k at time n; P_(z) represents a set of pump stations connected to the confluent node z; α_(k,n) ^(p)∈{−1,1} is a given value; α_(k,n) ^(p)=−1 denotes that the pump station k is configured to pump water at time n; α_(k,n) ^(p)=1 denotes that the pump station k is configured to drain water at time n; m represents a channel number index; q_(J) _(m) _(,m) ^(n) represents a flow rate per unit width of channel m at point (J_(m), n); B_(m) represents a width of the channel m; B_(i) represents a width of channel i; and q_(0,i) ^(n) represents a flow rate per unit width of the channel i at point (0, n).

In some embodiments, step (b) comprises:

obtaining a water storage volume S_(I,c) ^(n) of the channel I at time n, expressed as:

$\begin{matrix} {{S_{I,c}^{n} = {\sum\limits_{j = 0}^{J_{I} - 1}{\frac{\left( {H_{j,I}^{n} + H_{{j + 1},I}^{n}} \right)}{2}B_{I}\Delta x}}},{\forall{I \in \Omega}},{{\forall{n \in T^{w}}};}} & (16) \end{matrix}$

wherein the water storage volume S_(I,c) ^(n) is limited to a preset range, expressed as:

S _(I,c,min) ^(n) ≤S _(I,c) ^(n) ≤S _(I,c,max) ^(n) ,∀I∈Ω,∀n∈T ^(w)  (17),

wherein H_(j,I) ^(n) represents a water level of the channel I at the point (j, n); B_(i) represents a width of the channel I; S_(I,c,min) ^(n) represents a minimum water storage volume of the channel I; S_(I,c,max) ^(n) represents a maximum water storage volume of the channel I; J_(I) represents a maximum spatial index of the channel I;

acquiring a relationship between water discharge and water level of lake k at each period, expressed as:

$\begin{matrix} {{{A_{k,a}\frac{H_{k,a}^{n + 1} - H_{k,a}^{n}}{\Delta t}} = {{r_{k}^{n}\left( {A_{k,a} + {\alpha_{k,a}F_{k,a}}} \right)} - {\sum\limits_{i \in k_{p}}{\alpha_{i,n}^{p}q_{i,n}^{p}}}}},} & (18) \end{matrix}$ ∀k ∈ K, ∀n ∈ T^(w);

acquiring a current volume of the lake k, expressed as:

S _(k,a) ^(n) =A _(k,a) H _(k,a) ^(n) ,∀k∈K,∀n∈T ^(w)  (19); and

acquiring a constraint for secure operation of the lake k, expressed as:

S _(k,a,min) ≤S _(k,a) ^(n) ≤S _(k,a,max) ,∀k∈K,∀n∈T ^(w)  (20);

wherein A_(k,a) represents an area of the lake k; H_(k,a) ^(n) represents a water level of the lake k at time n; α_(k,a) represents a runoff coefficient of the lake k; F_(k,a) represents a catchment area of the lake k; S_(k,a) ^(n) represents a water storage volume of the lake k at time n; S_(k,a,min) represents a minimum water storage volume of the lake k; S_(k,a,max) represents a maximum water storage volume of the lake k; K represents a lake set; k_(p) represents a set of pump stations connected to the lake k; q_(i,n) ^(p) represents a flow rate of the pump station i at time n; r_(k) ^(n) represents a rainfall intensity at the lake k at time n; and α_(i,n) ^(p) represents an operation state of the pump station i at time n.

In some embodiments, step (c) comprises:

constructing the distribution network linear AC power flow model to characterize power flow constraints, generator operating constraints and bus power balance constraints;

wherein an active power flow of line ij is expressed as:

$\begin{matrix} {{P_{{ij},n} = {{\frac{r_{ij}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}}}},{{\forall{n \in T^{*}}};}} & (21) \end{matrix}$

a reactive power flow of the line ij is expressed as:

$\begin{matrix} {{Q_{{ij},n}^{e} = {{\frac{{- r_{ij}}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}}}},} & (22) \end{matrix}$ ∀n ∈ T^(*);

wherein r_(ij) represents a resistance of the line ij; x_(ij) represents a reactance of the line ij; P_(ij,n) represents an active power flowing from bus i to bus j at time n; Q_(ij,n) ^(e) represents a reactive power flowing from the bus i to the bus j at time n; δ_(j,n) represents a phase angle of the bus j at time n; V_(j,n) represents a voltage amplitude of the bus j at time n; δ_(i,n) represents a phase angle of the bus i at time n; V_(i,n) represents a voltage amplitude of the bus i at time n; and T*={1, 2, . . . , N}, representing a time index set of the urban distribution network; and

the reactive power flow and the active power flow of the line ij and the voltage amplitude of the bus j satisfy the following security constraints:

$\begin{matrix} \left\{ {\begin{matrix} {{- S_{ij}} \leq P_{{ij},n} \leq S_{ij}} \\ {{- S_{ij}} \leq Q_{{ij},n}^{e} \leq S_{ij}} \end{matrix},\ {{\forall{n \in T^{*}}};\ {and}}} \right. & (23) \end{matrix}$ $\begin{matrix} {{V_{j}^{\min} \leq V_{j,n} \leq V_{j}^{\max}},{{\forall{n \in T^{*}}};}} & (24) \end{matrix}$

wherein S_(ij) represents a rated apparent power capacity of the line ij; V_(j) ^(min) represents a minimum voltage allowed for the bus j; and V_(j) ^(max) represents a maximum voltage allowed for the bus j;

acquiring an output power limit of a distributed generator g, expressed as:

P _(g,min) ^(CDG) ≤P _(g,n) ^(CDG) ≤P _(g,max) ^(CDG) ,∀g∈G,∀n∈T*  (25);

acquiring a ramp limit of the distributed generator g, expressed as:

R _(g,down) ^(CDG) ≤P _(g,n) ^(CDG) −P _(g,n−1) ^(CDG) ≤R _(g,up) ^(CDG) ,∀g∈G,∀n∈T*  (26);

acquiring a capacity limit of the distributed generator g, expressed as:

$\begin{matrix} \left\{ {\begin{matrix} {{- S_{g}^{CDG}} \leq P_{g,n}^{CDG} \leq S_{g}^{CDG}} \\ {{- S_{g}^{CDG}} \leq Q_{g,n}^{CDG} \leq S_{g}^{CDG}\text{  }} \end{matrix},{\forall{g \in G}},{{\forall{n \in T^{*}}};}} \right. & (27) \end{matrix}$

and

acquiring power balance constraints for buses, expressed as:

$\begin{matrix} {{{{\sum\limits_{{ij} \in {\Lambda_{j +}m}}P_{{ij},n}} + {\sum\limits_{g \in G_{j}}P_{g,n}^{CDG}} - {\sum\limits_{p \in P_{j}}P_{p,n}^{fle}} - {\sum\limits_{p \in P_{j}}P_{p,n}^{p}} - P_{j,n}^{load}} = {\sum\limits_{{jk} \in \Lambda_{j -}}P_{{jk},n}}},{\forall{j \in J}},{{\forall{n \in T^{*}}};{and}}} & (28) \end{matrix}$ $\begin{matrix} {{{{\sum\limits_{{ij} \in {\Lambda_{j +}m}}Q_{{ij},n}^{e}} + {\sum\limits_{g \in G_{j}}Q_{g,n}^{CDG}} - {\sum\limits_{p \in P_{j}}Q_{p,n}^{p}} - Q_{j,n}^{load}} = {\sum\limits_{{jk} \in \Lambda_{j -}}Q_{{jk},n}}},{\forall{j \in J}},{{\forall{n \in T^{*}}};}} & (29) \end{matrix}$

wherein P_(g,n) ^(CDG) represents an active power generated by the distributed generator g at time n; Q_(g,n) ^(CDG) represents a reactive power generated by the distributed generator g at time n; P_(g,max) ^(CDG) represents a maximum allowable output power of the distributed generator g; P_(g,min) ^(CDG) represents a minimum allowable output power of the distributed generator g; R_(g,up) ^(CDG) represents a maximum allowable ramp rate of the distributed generator g; R_(g,down) ^(CDG) represents a minimum allowable ramp rate of the distributed generator g; G represents a generator set; G_(j) represents a set of generators connected to the bus j; P_(j) represents a set of pump stations connected to the bus j; J represents a bus set of the urban distribution network; Λ_(j+) represents a set of lines whose power flows into the bus j; Λ⁻ represents a set of lines whose power flows out from the bus j; P_(j,n) ^(load) represents an active load at the bus j except for a pump station load at time n; Q_(j,n) ^(load) represents a reactive load at the bus j except for the pump station load at time n; P_(p,n) ^(fle) represents a flexibility amount offered by pump station p at time n; S_(g) ^(CDG) is a rated apparent capacity for the distributed generator g; P_(jk,n) represents an active power flow on line jk at time n; P_(p,n) ^(p) represents an active load of the pump station p at time n; and Q_(p,n) ^(p) represents a reactive load of the pump station p at time n.

In some embodiments, step (c) further comprises:

acquiring an operating power-flow rate relationship for pump stations, expressed as:

$\begin{matrix} {{P_{i,n}^{p} = \frac{\rho gH_{i}^{st}q_{i,n}^{p}}{1000\eta_{i}^{p}}},{\forall{i \in P}},{{\forall{n \in T^{*}}};}} & (30) \end{matrix}$

acquiring pump station power limits, expressed as:

−R _(i) ^(p) ≤P _(i,n) ^(p) −P _(i,n−1) ^(p) ≤R _(i) ^(p) ,∀i∈P,∀n∈T*  (31); and

P _(i,min) ^(p) ≤P _(i,n) ^(p) ≤P _(i,max) ^(p) ,∀i∈P,∀n∈T*  (32); and

acquiring a pump station reactive load constraint, expressed as:

Q _(i,n) ^(p) =P _(i,n) ^(p) tan(arccos(ϕ_(i) ^(p))),∀i∈P,∀n∈T*  (33);

wherein P represents a set of pump stations in the watershed network; P_(i,n) ^(p) represents an active load of the pump station i at time n; Q_(i,n) ^(p) represents a reactive load of the pump station i at time n; η_(i) ^(p) represents an operation efficiency of the pump station i; R_(i) ^(p) represents a maximum ramp rate of the pump station i; H_(i) ^(st) represents a water head of the pump station i; ρ is water density; P_(i,min) ^(p) represents a lower bound of the reactive load of the pump station i; P_(i,max) ^(p) represents an upper bound of the active load of the pump station i; and ϕ_(i) ^(p) is a power factor of the pump station i.

In some embodiments, step (d) comprises:

based on Taylor series expansion, expanding equations (6) and (7) into:

$\begin{matrix} {{{f_{\{{1,2}\}}\begin{Bmatrix} \begin{matrix} \begin{matrix} {{H_{j + 1}^{n} + {\Delta H_{j + 1}}},} \\ {{H_{j}^{n} + {\Delta H_{j}}},} \end{matrix} \\ {{q_{j + 1}^{n} + {\Delta q_{j + 1}}},} \end{matrix} \\ {q_{j}^{n} + {\Delta q_{j}}} \end{Bmatrix}} = \begin{Bmatrix} {{f_{\{{1,2}\}}\left( {H_{j + 1}^{n},H_{j}^{n},q_{j + 1}^{n},q_{j}^{n}} \right)} + {\frac{\partial f_{\{{1,2}\}}}{\partial H_{j + 1}^{n}}\Delta H_{j + 1}}} \\ {{{+ \frac{\partial f_{\{{1,2}\}}}{\partial H_{j}^{n}}}\Delta H_{j}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j + 1}^{n}}\Delta q_{j + 1}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\Delta q_{j}}} \end{Bmatrix}};} & (34) \end{matrix}$

wherein ƒ_({1,2)} represents a collective name for defined functions ƒ₁ and ƒ₂; subscripts 1 and 2 of the ƒ_({1,2)} represent selection of function ƒ₁ or function ƒ₂; ΔH_(j) represents a variation of a water level at point (j, n) after adjusting a pump station power; H_(j) ^(n) represents a water level at the point (j, n); Δq_(j) represents a variation of a flow rate at the point (j, n) after adjusting the pump station power; and q_(j) ^(n) represents a flow rate at the point (j, n);

acquiring a sensitivity matrix of individual channels under different disturbances at time n, expresses as:

$\begin{matrix} {{{\underset{M}{\underset{︸}{\begin{bmatrix} a_{0} & b_{0} & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{1} & b_{1} & c_{1} & d_{1} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{2} & b_{2} & c_{2} & d_{2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{3} & b_{3} & c_{3} & d_{3} & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{4} & b_{4} & c_{4} & d_{4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 3} & b_{{2J} - 3} & b_{{2J} - 3} & d_{{2J} - 3} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 2} & a_{{2J} - 2} & c_{{2J} - 2} & d_{{2J} - 2} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & c_{2J} & d_{2J} \end{bmatrix}}}\underset{\Delta X}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {\Delta H_{0}} \\ {\Delta q_{0}} \end{matrix} \\ {\Delta H_{1}} \end{matrix} \\ {\Delta q_{1}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta H_{J - 1}} \end{matrix} \\ {\Delta q_{J - 1}} \end{matrix} \\ {\Delta H_{J}} \end{matrix} \\ {\Delta q_{J}} \end{bmatrix}}}} = \text{ }\underset{F}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\ F_{3} \end{matrix} \\ F_{4} \end{matrix} \\  \vdots  \end{matrix} \\ F_{{2J} - 3} \end{matrix} \\ F_{{2J} - 2} \end{matrix} \\ F_{{2J} - 1} \end{matrix} \\ F_{2J} \end{bmatrix}}}};} & (35) \end{matrix}$

wherein M represents a sensitivity coefficient matrix; ΔX represents a variation matrix of water level and flow rate at points; F represents a constant matrix at a current time; elements in the M and elements in the F are constants; the elements in the M are partial derivatives of water level and flow rate at time n; the elements in the F are products of space-time difference results of the ƒ₁ or ƒ₂ and −Dt; a₀, b₀ and F₁ are determined by the upstream boundary condition; and c_(2J), d_(2J) and F_(2J) are determined by the downstream boundary condition; and

the elements in the M are obtained through the following equation:

$\begin{matrix} \left\{ {\begin{matrix} {{a_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j - 1}^{n}}},{b_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j - 1}^{n}}},{c_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j}^{n}}},{d_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j}^{n}}}} \\ {{a_{2j} = \frac{\partial f_{2}}{\partial H_{j - 1}^{n}}},{b_{2j} = \frac{\partial f_{2}}{\partial q_{j - 1}^{n}}},{c_{2j} = \frac{\partial f_{2}}{\partial H_{j}^{n}}},{d_{2j} = \frac{\partial f_{2}}{\partial q_{j}^{n}}}} \\ {{a_{0} = \frac{\partial f^{u}}{\partial H_{0}^{n}}},{b_{0} = \frac{\partial f^{u}}{\partial q_{0}^{n}}},{c_{2J} = \frac{\partial f^{d}}{\partial H_{J}^{n}}},{d_{2J} = \frac{\partial f^{d}}{\partial q_{J}^{n}}}} \end{matrix};} \right. & (36) \end{matrix}$

obtaining a relationship between a power increment of a pump station and a flow rate increment at point (j, n) where the pump station is located through equations (37) and (38):

$\begin{matrix} {{\frac{\partial f_{\{{1,2}\}}}{\partial P_{P_{I},n}^{p}} = {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}}},{and}} & (37) \end{matrix}$ $\begin{matrix} {{{\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}} = \frac{1000\eta_{P_{I}}^{p}}{B_{I}\rho{gH}_{P_{I}}^{st}}};} & (38) \end{matrix}$

wherein P_(I) represents index of a pump station connected to the channel I; ∂ƒ_({1,2)}/∂P_(P) _(I) _(,n) ^(p) represents a partial derivative of ƒ₁ or ƒ₂ with respect to P_(P) _(I) _(,n) ^(p); P_(P) _(I) _(,n) ^(p) represents an active load of the pump station P_(I) at time n; q_(P) _(I) _(,n) ^(p) represents a flow rate of the pump station P_(I) at time n; H_(P) _(I) ^(st) represents a water head of the pump station P_(I); η_(P) _(I) ^(p) represents an operation efficiency of the pump station P_(I);

plugging the equations (37) and (38) into the sensitivity matrix to expand the M into M′, such that the watershed-electricity composite sensitivity matrix of individual channels is expressed as:

$\begin{matrix} {{{\underset{M^{\prime}}{\underset{︸}{\begin{bmatrix} Z_{1,1} & Z_{1,2} & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ Z_{2,1} & Z_{2,2} & Z_{2,3} & Z_{2,4} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ Z_{3,1} & Z_{3,2} & Z_{3,3} & Z_{3,4} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & Z_{4,1} & Z_{4,2} & Z_{4,3} & Z_{4,4} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & Z_{5,1} & Z_{5,2} & Z_{5,3} & Z_{5,4} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & Z_{6,1} & Z_{6,2} \end{bmatrix}}}\underset{\Delta X^{\prime}}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {\Delta H_{0}} \\ {\Delta P_{I}^{p,u}} \end{matrix} \\ {\Delta H_{1}} \end{matrix} \\ {\Delta q_{1}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta H_{J - 1}} \end{matrix} \\ {\Delta q_{J - 1}} \end{matrix} \\ {\Delta H_{J}} \end{matrix} \\ {\Delta P_{I}^{p,d}} \end{bmatrix}}}} = \text{ }\underset{F}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\ F_{3} \end{matrix} \\ F_{4} \end{matrix} \\  \vdots  \end{matrix} \\ F_{{2J} - 3} \end{matrix} \\ F_{{2J} - 2} \end{matrix} \\ F_{{2J} - 1} \end{matrix} \\ F_{2J} \end{bmatrix}}}};} & (39) \end{matrix}$

wherein M′ represents a sensitivity coefficient expansion matrix; ΔX′ represents a variation expansion matrix of water level and flow rate; F represents a constant matrix at a current time; the elements in the F are products of the space-time difference results of the ƒ₁ or ƒ₂ and −Dt; ΔP_(I) ^(p,u) represents a power increment of a pump station located upstream of the channel I; ΔP_(I) ^(p,d) represents a power increment of a pump station located downstream of the channel I;

${Z_{1,1} = \frac{\partial f^{u}}{\partial H_{0}}};{Z_{1,2} = {\frac{\partial f^{u}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{2,1} = \frac{\partial f_{1}}{\partial H_{0}}};$ ${Z_{2,2} = {\frac{\partial f_{1}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{2,3} = \frac{\partial f_{1}}{\partial H_{1}}};{Z_{2,4} = \frac{\partial f_{1}}{\partial q_{1}}};$ ${Z_{3,1} = \frac{\partial f_{1}}{\partial q_{1}}};{Z_{3,2} = {\frac{\partial f_{2}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{3,3} = \frac{\partial f_{2}}{\partial H_{1}}};$ ${Z_{3,4} = \frac{\partial f_{2}}{\partial q_{1}}};{Z_{4,1} = \frac{\partial f_{1}}{\partial H_{J - 2}}};{Z_{4,2} = \frac{\partial f_{1}}{\partial q_{J - 2}}};{Z_{4,3} = \frac{\partial f_{1}}{\partial H_{J - 1}}};$ ${Z_{4,4} = {\frac{\partial f_{1}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};{Z_{5,1} = \frac{\partial f_{2}}{\partial H_{J - 2}}};{Z_{5,2} = \frac{\partial f_{2}}{\partial q_{J - 2}}};$ ${Z_{5,3} = \frac{\partial f_{2}}{\partial H_{J - 1}}};{Z_{5,4} = {\frac{\partial f_{2}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ ${Z_{6,1} = \frac{\partial f^{d}}{\partial H_{J}}};{Z_{6,2} = {\frac{\partial f^{d}}{\partial q_{J}}\frac{\partial q_{J}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$

q_(I) ^(p,u) represents a flow rate of the pump station located upstream of the channel I; q_(I) ^(p,d) represents a flow rate of the pump station located downstream of the channel I; P_(I) ^(p,u) represents an active load of the pump station located upstream of the channel I; and P_(I) ^(p,d) represents an active load of the pump station located downstream of the channel I; and

combining sensitivity matrices of all channels in the watershed network to obtain the watershed-electricity composite sensitivity matrix of the watershed network, expressed as:

$\begin{matrix} {{{\begin{bmatrix} M_{1}^{\prime} & 0 & 0 & \ldots & 0 & 0 \\ 0 & M_{2}^{\prime} & 0 & \ldots & 0 & 0 \\ 0 & 0 & \ddots & \ldots & 0 & 0 \\ 0 & \ldots & 0 & M_{I}^{\prime} & \ldots & 0 \\ 0 & \ldots & \ldots & \ldots & \ddots & 0 \\ 0 & 0 & \ldots & 0 & 0 & M_{I_{\star}}^{\prime} \end{bmatrix}\begin{bmatrix} {\Delta X_{1}^{\prime}} \\ {\Delta X_{2}^{\prime}} \\  \vdots \\ {\Delta X_{I}^{\prime}} \\  \vdots \\ {\Delta X_{I_{\star}}^{\prime}} \end{bmatrix}} = \begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\  \vdots  \end{matrix} \\ F_{I} \end{matrix} \\  \vdots  \end{matrix} \\ F_{I_{\star}} \end{bmatrix}};} & (40) \end{matrix}$

wherein M′_(I) represents a sensitivity coefficient expansion matrix of the channel I; ΔX′_(I) represents ΔX′ of the channel I, which represents a variation expansion matrix of water level and flow rate of the channel I; F₁ represents F of the channel I; and I* represents the number of channels in the watershed network.

the time-varying adjustable power domain is estimated through steps of:

obtaining a baseline active load of each pump station through optimal scheduling of the watershed network under a basic scenario; and estimating the time-varying adjustable power domain of an active load of each pump station using equation (41):

$\begin{matrix} {{F_{i}^{n} = \left\{ {{{\Delta P_{i,n}^{p}} \in ▯}❘\begin{matrix} \begin{matrix} \begin{matrix} {{{\underline{P}}_{i}^{p} \leq {{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}}} \leq {\overset{\_}{P}}_{i}^{p}},{\forall{i \in P}}} \\ {{S_{i,a,\min} \leq {{\overset{\sim}{S}}_{i,a}^{n} + \frac{1000\eta_{P_{i}}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,a,\max}},{\forall{i \in P_{a}}}} \end{matrix} \\ {{S_{i,c,\min} \leq {{\overset{\sim}{S}}_{i,c}^{n} + \frac{1000\eta_{i}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,c,\max}},{\forall{i \in P_{ch}}}} \end{matrix} \\ {{{❘{{{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}}} \leq P_{i,{n - 1}}^{p}}❘} \leq R_{i}^{p}},{\forall{i \in P}}} \end{matrix}} \right\}},} & (41) \end{matrix}$

wherein P _(i) ^(p) represents an upper limit of the active load of the pump station i; P _(i) ^(p) represents a lower limit of the active load of the pump station i; {tilde over (S)}_(i,n) represents a baseline storage volume of channel i or lake i; {tilde over (P)}_(i,n) ^(p) represents a baseline active load of the pump station i; ΔP_(i,n) ^(p) represents a power adjustment of an active load of the pump station i; F_(i) ^(n) represents the time-varying adjustable power domain of the pump station i at time n;

represents a real number set; S_(i,a,min) represents a minimum storage volume of the lake i; S_(i,a,max) represents a maximum storage volume of the lake i; {tilde over (S)}_(i,a) ^(n) represents a baseline storage volume of the lake i at time n; η_(P) _(p) ^(p) represents an operation efficiency of a pump station connected to the channel i or the lake i; ΔP_(P) _(i) _(,n) ^(p) represents a power adjustment of an active load of the pump station connected to the channel i or the lake i; P_(a) represents a set of pump stations connected to the lake i; P_(ch) represents a set of pump stations connected to the channel i; P represents a set of pump stations; S_(i,c,min) represents a minimum storage volume of the channel i; S_(i,c,max) represents a maximum storage volume of the channel i; and {tilde over (S)}_(i,c) ^(n) represents a baseline storage volume of the channel i at time n; and

the time-varying adjustable power domain is corrected through steps of:

correcting the time-varying adjustable power domain according to the adjustment amount, and obtaining the time-varying adjustable power domain as:

F _(i) ^(*,n) ={ΔP _(i,n) ^(p) ∈

|P _(i,n) ^(fle,min) ≤ΔP _(i,n) ^(p) +dP _(n) ^(p) ≤P _(i,n) ^(fle,max)}  (42)

wherein P_(i,n) ^(fle,max) represents a corrected upper bound of the time-varying adjustable power for the pump station i at time n; P_(i,n) ^(fle,min) represents a corrected lower bound of the time-varying adjustable power for the pump station i at time n; F_(i) ^(*,n) represents a real time-varying adjustable power domain of the pump station i at time n; ΔP_(i,n) ^(p) represents an adjustment amount of the active load of the pump station i at time n; and dP_(n) ^(p) represents a certain margin of adjustable power reserved because higher-order terms in (34) are ignored, which is generally determined by the experiences based on operation states.

In some embodiments, step (f) comprises:

performing an optimal coordinated rolling scheduling on a pump station group distributed in the watershed network, wherein a plurality of stochastic scenarios are generated according to uncertainty of rainfall prediction at a future moment; an objective of watershed network hydraulic energy flow optimization is to minimize an operational cost of the pump station group; the operational cost comprises an electricity consumption cost of the pump station group and an expected electricity consumption cost of the pump station group in the plurality of stochastic scenarios; and the hydraulic energy flow optimization model is expressed as:

$\begin{matrix} {{\min\left\{ {{ELC_{n_{0}}} + {\sum\limits_{s = 1}^{NS}{\pi_{s}\left( {\sum\limits_{n = {n_{0} + 1}}^{n_{0} + N_{T}}{ELC_{n,s}}} \right)}}} \right\}};{and}} & (43) \end{matrix}$ $\begin{matrix} {{{ELC}_{n} = {C_{E,n}\Delta t{\sum\limits_{i \in P}P_{i,n}^{p}}}};} & (44) \end{matrix}$

-   -   s.t. the equations (6)-(20) and (30)-(33) (45);

wherein ELC_(n) represents an electricity consumption cost of the pump station group at time n; ELC_(n,s) represents an electricity consumption cost of the pump station group at time n under scenario s; n₀ represents an initial time of the watershed network hydraulic energy flow optimization; NS represents a total number of the plurality of stochastic scenarios; N_(T) represents a length of a predicted time horizon; π_(s) represents an occurrence probability of the scenario s; Σ_(s=1) ^(NS)π_(s)=1; and C_(E,n) represents an electricity price of the urban distribution network at time n; and

constructing the power flow optimization model; and optimizing a power flow of the urban distribution network and a power of individual generators by using the flexible resource of the pump station group, so as to minimize an operational cost of the urban distribution network at a current time, wherein the operational cost DC_(n) comprises a cost DC_(1n) for purchasing power from a main grid, a generator operation cost DC_(2n), an incentive cost DC_(3n) of flexible resources of the watershed network and an electricity-selling profit DC_(4n); and the power flow optimization model is expressed as:

$\begin{matrix} \left\{ {\begin{matrix} {{\min DC_{n}} = {{DC_{1n}} + {DC_{2n}} + {DC_{3n}} - {DC_{4n}}}} \\ {{DC_{1n}} = {C_{{mg},n}P_{n}^{mg}}} \\ {{DC_{2n}} = {{\sum\limits_{g \in G}{a_{g}\left( P_{g,n}^{CDG} \right)}^{2}} + {b_{g}\left( P_{g,n}^{CDG} \right)} + c_{g}}} \\ {{DC_{3n}} = {C_{{IN},n}{\sum\limits_{i \in P}{\hat{P}}_{i,n}^{fle}}}} \\ {{DC_{4n}} = {C_{E,n}{\sum\limits_{j \in J}{\sum\limits_{i \in P_{j}}\left( {P_{i,n}^{p} + P_{i,n}^{fle} + P_{j,n}^{load}} \right)}}}} \end{matrix};{and}} \right. & (46) \end{matrix}$ $\begin{matrix} {s.t.\left\{ {\begin{matrix} {{the}{equations}(21) - (29)} \\ {{P_{i,n}^{{fle},\min} \leq P_{i,n}^{fle} \leq P_{i,n}^{{fle},\max}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \\ {{P_{i,n}^{fle} \leq {\hat{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \\ {{{- P_{i,n}^{fle}} \leq {\hat{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \end{matrix};} \right.} & (47) \end{matrix}$

wherein C_(mg,n) represents an electricity price of the main grid at time n; P_(n) ^(mg) represents an electricity purchasing quantity of the urban distribution network from the main grid at time n; C_(IN,n) represents an incentive price of the flexible resource at time n; a_(g), b_(g) and c_(g) are cost coefficients of the generator g; {circumflex over (P)}_(i,n) ^(fle) is an auxiliary variable; and P_(i,n) ^(fle) represents an adjustment amount of the active load of the pump station i set by the urban distribution network at time n.

In some embodiments, step (g) comprises:

(g1) initializing the coordinated operation model, wherein a current scheduling period is set to n=1; a scheduling duration is 24 h; Dx of individual channels in the watershed network is set to 100 m; and Dt is set to 1 h;

(g2) inputting parameters to the coordinated operation model, wherein the parameters comprise topological information of the watershed network, a width B_(I) of each channel, a length L_(I) of each channel, a water level H_(j,I) ^(n−1) and flow rate q_(j,I) ^(n−1) of each channel in the watershed network at point (j,n−1), an operation state of each pump station at time n−1, a power P_(i,n−1) ^(p) of each pump station at time n−1, topological information of the urban distribution network, load information of each bus, and an operation state and power of each generator in the urban distribution network at time n−1; and H_(j,I) ^(n−1) and q_(j,I) ^(n−1) are taken as initial conditions of the watershed network;

(g3) optimizing a load of each pump station and a hydraulic energy flow of each channel in the watershed network at time n based on the hydraulic energy flow optimization model, so as to obtain an optimal operating power P_(i,n) ^(p) of each pump station at the current scheduling period;

(g4) calculating a time-varying adjustable power domain [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each pump station based on the flexibility assessment method; and transmitting the Pp and the [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each pump station to the urban distribution network;

(g5) calculating and optimizing a flexible power P_(i,n) ^(fle) of each pump station required by the urban distribution network based on the power flow optimization model; transmitting the P_(i,n) ^(fle) to each pump station; and paying an incentive fee to each pump station in the watershed network;

(g6) receiving the P_(i,n) ^(fle) by the watershed network; adjusting the P_(i,n) ^(p) of each pump station to P_(i,n) ^(p)+P_(i,n) ^(fle) to calculate a watershed network hydraulic energy flow, so as to update a water level and flow rate at each point in the watershed network at time n; and

(g7) determining whether the electricity-water energy flow interactive optimization is finished through steps of:

letting n=n+1, and determining whether n≤24; if yes, returning to step (g2); otherwise, ending the electricity-water energy flow interactive optimization.

Compared to the prior art, the disclosure has the following beneficial effects.

By implementing the electricity-water energy flow interactive optimization involving the flexible resources of the pump station group, the flexibility of the watershed network can be fully exploited to improve the operational flexibility of the urban distribution network, achieving the flexible coordinated operation of the urban distribution network and the watershed network. Specifically, the power flow optimization model and the hydraulic energy flow optimization model are constructed herein, and the pump station load is incorporated as the flexible resource into the power flow optimization of the urban distribution network. The interactive optimization effectively utilizes the spatio-temporal flexibility of the pump station load to reduce peak-valley load difference of the urban distribution network, such that the watershed network can assist the secure and economic operation of the urban distribution network. The spatio-temporal flexible resources of the pump station load can be evaluated and quantified to facilitate the flexible coordinated operation of the urban distribution network and the watershed network.

BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains FIGS. 5-7 executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.

In order to illustrate the technical solutions of embodiments of the present disclosure or the prior art more clearly, the drawings needed in the description of the embodiments of the present disclosure or the prior art will be briefly described below. Obviously, presented in the accompanying drawings are only some embodiments of the disclosure, which are not intended to limit the disclosure. Other drawings obtained by those of ordinary skill in the art based on the drawings provided herein without sparing any creative effect should fall within the scope of the disclosure.

FIG. 1 schematically shows a system for flexible coordinated operation of an urban distribution network and a watershed network according to an embodiment of the present disclosure;

FIG. 2 schematically shows a regulating system of the system shown in FIG. 1 ;

FIG. 3 is a flow chart of a method for flexible coordinated operation of an urban distribution network and a watershed network according to an embodiment of the present disclosure;

FIG. 4 schematically illustrates a pump station flexibility assessment method according to an embodiment of the present disclosure;

FIG. 5 schematically illustrates a multidimensional piecewise linearization method according to an embodiment of the present disclosure;

FIG. 6 shows a total adjustable power of pump stations in the watershed network according to an embodiment of the present disclosure; and

FIG. 7 shows water level variation of individual channels in the watershed network according to an embodiment of the present disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

It should be noted that described blow are merely illustrative of the disclosure, and are not intended to limit the disclosure.

Referring to FIG. 1 , a system 100 is provided for flexible coordinated operation of an urban distribution network and a watershed network, which includes one or more power generators 102, and a distribution network 104. The power generators 102 include non-renewable sources, such as, but are not limited to, diesel generators, combined heat/power (CHP) generators, battery energy storage, fuel cells, and electrolyzers. Additional examples of the power generators 102 include renewable sources, such as, but not limited to, wind turbines, geothermal pumps, solar cells, and hydroelectric plants. In an embodiment, the power generators 102 transmit electrical power through the distribution network 104. The distribution network 104 includes equipment, such as, without limitation, a plurality of conduits and switches that facilitate electrical energy being routed to its destination. In an embodiment, the distribution network 104 is electrically connected to the power generators 102, the pump stations 106 and a main grid 110. In an embodiment, the system 100 may buy electrical energy from the main grid 110 or sell electrical energy.

The pump stations 106 are coupled to the distribution network 104. The pump stations 106 are distributed in the watershed network. Each pump station 106 includes at least one electric-driven pump for drainage.

Referring to FIG. 2 , a system 200 for regulating the system 100 is provided, which includes a processor 212, a memory 214 coupled to the processor 212, a controller (computer device) 210, a power generator computer device 202, a distribution network computer device 204 and a pump station computer device 206. In the exemplary embodiment, the system 200 is used for regulating the transmission of electrical energy over the system 100, ensuring the pump stations 106 receive needed power, and using the connection to the main grid 110 to receive extra needed power or shed excess power.

The controller 210 is in communication with the power generators 102, the main grid 110, the pump stations 106, and the distribution network 104. The controller 210 is configured to (a) construct a watershed network dynamic operation model based on a de Saint-Venant nonlinear hyperbolic partial differential equation system; (b) construct water storage models for rivers and lakes based on the watershed network dynamic operation model; (c) construct a distribution network linear alternating-current (AC) power flow model; and based on the watershed network dynamic operation model and the distribution network linear AC power flow model, construct an operating power-flow rate operation model of the drainage pump station to obtain a coordinated operation model of the urban distribution network and the watershed network; (d) construct a watershed-electricity composite sensitivity matrix by using Taylor series expansion to reflect a mathematical relationship between variation of water level at individual points of the watershed network and a power increment of the one or more drainage pump stations, and a mathematical relationship between variation of flow rate at individual points of the watershed network and the power increment of the one or more drainage pump stations; (e) quantify a time-varying adjustable power domain of a load of each of the one or more drainage pump stations through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix; (f) construct a power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network; and convert a non-convex nonlinear hydraulic energy flow optimization problem into a mixed-integer linear programming problem through a multidimensional piecewise linearization method; and (g) based on the coordinated operation model of the urban distribution network and the watershed network, the time-varying adjustable power domain, the flexibility assessment method, the power flow optimization model and the hydraulic energy flow optimization model, perform electricity-water energy flow interactive optimization involving a flexible resource of the one or more drainage pump stations to realize the flexible coordinated operation of the urban distribution network and the watershed network.

As described below in more detail, the controller 210 may be configured to (a) predict grid demand for the pump stations 106 for a predetermined period of time; (b) receive demand information for the main grid 110 for the predetermined period of time including pricing for frequency regulation services; (c) determine an operation plan for the power generators 102 based on the predicted grid demand and the received demand information; and (d) determine a schedule to transmit electrical energy to the main grid 110 based on the operation plan.

In an embodiment, the power generator computer device 202 regulates the operation of the power generators 102. The power generator computer device 202 is in communication with the processor 212 through interfaces including, without limitation, a network, such as a local area network (LAN) or a wide area network (WAN), dial-in-connections, cable modems, Internet connection, wireless, and special high-speed Integrated Services Digital Network (ISDN) lines. In an embodiment, the power generators 102 are distributed power generators. In an embodiment, the power generator computer device 202 receives instructions for the operation of the power generators 102 from the controller 210.

In an embodiment, the distribution network computer devices 204 control the distribution network 104 and direct the routing of electrical energy from the power generators 102 to the pump stations 106 and the main grid 110. The distribution network computer device 204 is in communication with the controller 210. The distribution network computer device 204 is coupled to the controller 210 through interfaces including, without limitation, a network, such as a local area network (LAN) or a wide area network (WAN), dial-in-connections, cable modems, Internet connection, wireless, and special high-speed Integrated Services Digital Network (ISDN) lines. In the embodiment, the distribution network computer device 204 receives instructions about routing electrical energy through the distribution network 104 from the controller 210.

In the embodiment, the pump station computer device 206 regulates operations of the pump stations 106. The pump station computer device 206 is in communication with the controller 210. The pump station computer device 206 is coupled to the controller 210 through interfaces including, without limitation, a network, such as a LAN or a WAN, dial-in-connections, cable modems, Internet connection, wireless, and special high-speed ISDN lines. In some embodiments, the pump station computer device 206 is in communication with the controller 210 through the distribution network 104. In some embodiments, the pump station computer device 206 is a smart meter. In an embodiment, the pump station computer device 206 transmits power usage information about the pump stations 106. In some embodiments, the pump station computer device 206 transmits power usage information in real time. In other embodiments, the pump station computer device 206 transmits historical power usage information. In some further embodiments, the pump station computer device 206 transmits demand information about current or future power demands of the corresponding pump station 106, such as predictions of future load demand based on historical information. The pump station computer device 206 may transmit more or less information as needed to enable the system 200 to function as described herein.

The memory 214 stores data received from the pump station computer device 206, the power generator computer device 202 and the distribution network computer device 204. In addition, the memory 214 stores pricing forecasts, demand forecasts, transmission constraints, energy generation constraints, and historical data from the pump station computer device 206, the power generator computer device 202, and the controller 210.

In some embodiments, the controller 210 is in communication with a client device 216, also known as a client system 216. The controller 210 is coupled to the client device 216 through many interfaces including, without limitation, the distribution network 104, a network, such as a LAN or a WAN, dial-in-connections, cable modems, Internet connection, wireless, and special high-speed ISDN lines. In these embodiments, the controller 210 transmits data about the operation of the system 100 to the client device 216. Furthermore, the controller 210 is configured to receive additional instructions from the client device 216. Additionally, the client device 216 is configured to access or update the database stored in the memory 214 through the controller 210. The client device 216 is configured to present the data from the controller 210 to a user. In other embodiments, the controller 210 includes a display unit (not shown) to display data directly to a user.

EMBODIMENT

Referring to FIG. 3 , this application provides a method for flexible coordinated operation of an urban distribution network and a watershed network, including the following steps.

(S110) A watershed network dynamic operation model is constructed based on a de Saint-Venant nonlinear hyperbolic partial differential equation system.

(S120) A river water storage model and a lake water storage model are constructed based on the watershed network dynamic operation model.

(S130) A distribution network linear AC power flow model is constructed. Based on the watershed network dynamic operation model and the distribution network linear AC power flow model, an operating power-flow rate operation model of the drainage pump station is constructed to obtain a coordinated operation model of the urban distribution network and the watershed network.

(S140) A watershed-electricity composite sensitivity matrix is constructed by using Taylor series expansion to reflect a mathematical relationship between variation of water level at individual points of the watershed network and a power increment of the one or more drainage pump stations, and a mathematical relationship between variation of flow rate at individual points of the watershed network and the power increment of the one or more drainage pump stations.

(S150) A time-varying adjustable power domain of a load of each of the one or more drainage pump stations is quantified through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix, where the time-varying adjustable power domain is quantified through the following steps (as shown in FIG. 4 ).

The time-varying adjustable power domain of the load of each of the one or more drainage pump stations is estimated.

The watershed-electricity composite sensitivity matrix and an adjustment amount are successively calculated.

The time-varying adjustable power domain is corrected based on the adjustment amount until there is no water level out of a preset limit.

(S160) A power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network are constructed. A non-convex nonlinear hydraulic energy flow optimization problem is converted into a mixed-integer linear programming problem through a multidimensional piecewise linearization method.

(S170) Based on the coordinated operation model, the time-varying adjustable power domain, the flexibility assessment method, the power flow optimization model and the hydraulic energy flow optimization model, electricity-water energy flow interactive optimization involving a flexible resource of the one or more drainage pump stations is performed to realize the flexible coordinated operation of the urban distribution network and the watershed network.

Specifically, information is input according to a water level and flow rate of each point of the watershed network at a current scheduling period to perform watershed network hydraulic energy flow optimization. A flexibility of each pump station after optimization is assessed, and a time-varying adjustable power domain of each pump station in the pump station group is calculated. Then, information of load of each pump station and time-varying adjustable power domain thereof are transmitted to the urban distribution network. The urban distribution network performs power flow optimization, and information of flexible power required by each bus of the urban distribution network where the pump stations located is transmitted to the corresponding pump station through the urban distribution network. The load of each pump station is adjusted according to the information provided by the urban distribution network, and the hydraulic energy flow is calculated. The water level and flow rate at each point in the watershed network after power flow optimization and hydraulic energy flow optimization are updated, which is considered as input information for the next scheduling period.

By the method provided herein, the electricity-water energy flow interactive optimization involving a flexible resource of the pump station group can be implemented, and the flexibility potential of the watershed network can be fully exploit to improve the flexible operation of the urban distribution network, so as to realize the flexible coordinated operation of the urban distribution network and the watershed network. Specifically, the hydraulic energy flow optimization model for minimizing the operational cost of the pump stations and the power flow optimization model for minimizing the total operational cost are constructed. The load of each pump station is considered as the flexible resource and involved in power flow optimization of the urban distribution network. The urban distribution network pays an incentive cost to each pump station according to the flexible power required by the urban distribution network. In other words, by performing the electricity-water energy flow interactive optimization, spatio-temporal flexibility of the load of pump stations are utilized to reduce the peak-to-valley difference of the urban distribution network, so as to ensure the secure and economic operation of the urban distribution network assisting by the watershed network. The method provided herein can assess and quantify the spatio-temporal flexibility of the load of pump stations, so as to realize the flexible coordinated operation of the urban distribution network and the watershed network.

In addition, this application also provides the watershed-electricity composite sensitivity matrix of the watershed network and the flexibility assessment method. Based on the de Saint-Venant nonlinear-hyperbolic-partial differential equation system, a non-uniform unsteady watershed network dynamic operation model in rainy weather is constructed, which is configured to characterize the hydrodynamic characteristics of gradual evolution of water under the influence of pump station and rainfall. On the basis of this, the watershed-electricity composite sensitivity matrix, which reflects a mathematical relationship between variation of water level and flow rate at individual points of the watershed network and a power increment of the one or more drainage pump stations, is deduced. The flexibility assessment method based on the watershed-electricity composite sensitivity matrix is provided, and the time-varying adjustable power domain of the load of pump station at any time can be calculated.

Furthermore, a linearization method for a nonlinear watershed network hydraulic energy flow optimization model is also proposed herein. By using the Preissmann four-point implicit scheme, a nonlinear hyperbolic partial differential equation constraint is approximately discretized into a nonlinear equality constraint. The nonlinear equality constraint is converted into a series of linear equality constraints through the multidimensional piecewise linearization method, so as to convert a non-convex nonlinear hydraulic energy flow optimization problem into a mixed-integer linear programming problem, reducing the optimization difficulty of the optimization model and improving the computational efficiency.

In an embodiment, the step (S110) includes the following steps.

(S210) Channel water-level and flow hydraulic states are characterized by the de Saint-Venant nonlinear-hyperbolic-partial differential equation system along a channel direction to obtain a mass conservation equation and a momentum conservation equation. The mass conservation equation is expressed as:

$\begin{matrix} {{\frac{\partial A}{\partial t} + \frac{\partial Q}{\partial x}} = {r.}} & (1) \end{matrix}$

The momentum conservation equation is expressed as:

${{\frac{\partial Q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack \frac{Q^{2}}{A} \right\rbrack} + {gA\frac{\partial H}{\partial x}}} = {g{A\left( {S_{b} - S_{f}} \right)}}}.$

S_(f) is expressed as:

$\begin{matrix} {{S_{f} = {\left( {M^{2}Q{❘Q❘}l^{\frac{4}{3}}} \right)/A^{\frac{10}{3}}}},} & (3) \end{matrix}$

where t is time; x represents a longitudinal distance along the channel direction; Q represents volumetric flow rate; A represents a cross-sectional area of a water flow; H represents a water level; g is gravitational acceleration; S_(b) represents a river bed slope; S_(f) represents a friction slope; M represents Manning coefficient; I represents channel wetted perimeter; and r represents rainfall intensity.

Specifically, unlike power flow, hydraulic flow is a non-uniform and gradually changing fluid with slow dynamics.

In an embodiment, after step (S210), the step (S110) further includes the following steps.

(S310) The mass conservation equation is simplified into:

$\begin{matrix} {{\frac{\partial H}{\partial t} + \frac{\partial q}{\partial x}} = {\frac{r}{B}.}} & (4) \end{matrix}$

(S320) The momentum conservation equation is simplified into:

$\begin{matrix} {{{\frac{\partial q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack {\frac{q^{2}}{H} + \frac{gH^{2}}{2}} \right\rbrack}} = {g\left\lbrack {S_{b} - \frac{M^{2}{q^{2}\left( {{2H} + B} \right)}^{4/3}}{H^{7/3}B^{4/3}}} \right\rbrack}};} & (5) \end{matrix}$

where H represents a channel depth; B represents a channel width; A=BH; Q=BHV; V represents a flow velocity; l=B+2H; q represents a flow rate per unit channel width; q=Q/B.

Specifically, the channel width varies very little along the flow direction, thus the channel can be considered as a prismatic channel with rectangular cross section. The average river bed slope is very small, and thus the S_(b) can be set uniformly.

(S330) An approximate discrete form of the de Saint-Venant nonlinear-hyperbolic-partial differential equation system is obtained by using a Preissmann four-point implicit scheme.

Specifically, equations (4) and (5) are nonlinear hyperbolic partial differential equation, of which analytical solution cannot be obtained.

(S340) A continuous spatio-temporal domain C={(x, t)|0≤x≤L, 0≤t≤T} is divided into a plurality of rectangular grids according to a spatial step Δx and a time step Δt, where L represents a channel length; T represents a finite time horizon; individual vertices at each of the plurality of rectangular grids are indexed as (j, n); n represents a time index; j represents a spatial index; T^(w)={0, 1, 2, . . . , N}, representing a time index set; N represents a maximum time index; L^(w)={0, 1, 2, . . . , J}, representing a spatial index set; J represents a maximum spatial index; Dt=T/N; Dx=L/J; and (j, n)∈L^(w)×T^(w).

(S350) Spatio-temporal discretization is performed on equations (4) and (5) based on Preissmann four-point implicit scheme to obtain equations (6)-(9):

$\begin{matrix} {{{f_{1}\left( {H_{j + 1}^{n + 1},H_{j}^{n + 1},q_{j + 1}^{n + 1},q_{j}^{n + 1}} \right)}:={{\frac{H_{j + 1}^{n + 1} - H_{j + 1}^{n} + H_{j}^{n + 1} - H_{j}^{n}}{2\Delta t} + {\theta\left( \frac{q_{j + 1}^{n + 1} - q_{j}^{n + 1}}{\Delta x} \right)} + {\left( {1 - \theta} \right)\left( \frac{q_{j + 1}^{n} - q_{j}^{n}}{\Delta x} \right)} - {\frac{1}{B}\left\lbrack {{\frac{\theta}{2}\left( {r_{j + 1}^{n + 1} + r_{j}^{n + 1}} \right)} + {\frac{1 - \theta}{2}\left( {r_{j + 1}^{n} + r_{j}^{n}} \right)}} \right\rbrack}} = 0}},} & (6) \end{matrix}$ $\begin{matrix} {{{f_{2}\left( {H_{j + 1}^{n + 1},H_{j}^{n + 1},q_{j + 1}^{n + 1},q_{j}^{n + 1}} \right)}:={{\frac{q_{j + 1}^{n + 1} - q_{j + 1}^{n} + q_{j}^{n + 1} - q_{j}^{n}}{2\Delta t} - {{\theta\left( {I_{j + 1}^{n + 1} + R_{j}^{n + 1}} \right)}(7)} - {gS}_{b} - {\left( {1 - \theta} \right)\left( {I_{j + 1}^{n} + R_{j}^{n}} \right)}} = 0}},} & (7) \end{matrix}$ $\begin{matrix} {I_{j}^{n} = {\left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} - {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} - \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right){and}{}}} & (8) \end{matrix}$ $\begin{matrix} {R_{j}^{n} = {\left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} + {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} + \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right).}} & (9) \end{matrix}$

Specifically, “:=” in the above-mention formulas represents defining a function ƒ₁ as:

${\frac{H_{j + 1}^{n + 1} - H_{j + 1}^{n} + H_{j}^{n + 1} - H_{j}^{n}}{2\Delta t} + {\theta\left( \frac{q_{j + 1}^{n + 1} - q_{j}^{n + 1}}{\Delta x} \right)}},$

rather than considering it as

${{+ \left( {1 - \theta} \right)}\left( \frac{q_{j + 1}^{n} - q_{j}^{n}}{\Delta x} \right)} - {\frac{1}{B}\left\lbrack {{\frac{\theta}{2}\left( {r_{j + 1}^{n + 1} + r_{j}^{n + 1}} \right)} + {\frac{1 - \theta}{2}\left( {r_{j + 1}^{n} + r_{j}^{n}} \right)}} \right\rbrack}$

a constraint. The same goes for function ƒ₂.

In addition, θ represents a weight coefficient to ensure unconditional stability, and is selected from [0,1]; if θ≥0.5, the Preissmann four-point implicit scheme is unconditionally stable; H_(j+1) ^(n+1) represents a water level at point (j+1, n+1); H_(j) ^(n+1) represents a water level at point (j, n+1); q_(j+1) ^(n+1) represents a flow rate per unit channel width at the point (j+1, n+1); q_(j) ^(n+1) represents a flow rate per unit channel width at the point (j, n+1); q_(j) ^(n) represents a flow rate per unit channel width at the point (j, n); r_(j+1) ^(n+1) represents a rainfall intensity at the point (j+1, n+1); r_(j) ^(n+1) represents a rainfall intensity at the point (j, n+1); I_(j+1) ^(n+1) represents an I value defined by equation (8) at the point (j+1, n+1); R_(j) ^(n+1) represents an R value defined by equation (9) at the point (j, n+1); and B_(j) ^(n) represents a channel width at the point (j, n).

(S360) Spatio-temporal discretization is performed on each channel in the watershed network based on Preissmann four-point implicit scheme according to equations (6)-(9).

(S370) An initial condition and a boundary condition are determined to ensure closure and uniqueness of equations (6)-(9) with spatio-temporal discretization.

Specifically, in addition to equations (6)-(9), there should be the initial condition and the boundary condition to ensure closeness and solution uniqueness of space-time-discrete equations (6)-(9).

The initial condition comprises an initial water level distribution and an initial flow rate distribution observed by a hydrological station, expressed as:

H _(j,I) ⁰ =H _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (10),

q _(j,I) ⁰ =q _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (11).

The boundary condition comprises an upstream boundary condition and a downstream boundary condition, expressed as:

ƒ_(I) ^(u)=ƒ(H _(1,I) ^(n) ,q _(1,I) ^(n)),ƒ_(I) ^(d)=ƒ(H _(J) _(I) _(,I) ,q _(J) _(I) _(,I) ^(n)),∀n∈T ^(w) ,∀I∈Ω  (12),

where H_(j,I) ^(n) represents a water level of channel I at the point (j, n); q_(j,I) ^(n) represents a flow rate of the channel I at the point (j, n); H_(j,I) ⁰ represents a water level of the channel I at point (j, 0); q_(j,I) ⁰ represents a flow rate of the channel I at the point (j, 0); Ω represents a channel set; H_(I) ^(ini)(x) represents a given initial water level of the channel I along direction x; q_(I) ^(ini)(x) represents a given initial flow rate of the channel I along the direction x; ƒ_(I) ^(u) represents an upstream boundary condition of the channel I; f_(I) ^(d) represents a downstream boundary condition of the channel I; L_(I) ^(w)={0, 1, 2, . . . , J_(I)}, representing a spatial index set of the channel I; and J_(I) represents a maximum spatial index of the channel I.

(S380) The channel flow rate and water level are limited respectively to a preset range, expressed as:

Q _(I) ^(min) ≤B _(I) q _(j,I) ^(n) ≤Q _(I) ^(max) ,H _(I) ^(min) ≤H _(j,I) ^(n) ≤H _(I) ^(max) ,∀I∈Ω,∀n∈T ^(w) ,∀j∈L _(I) ^(w)  (13),

where B_(I) represents a width of the channel I; Q_(I) ^(max) represents an upper bound of a flow rate of the channel I, H_(I) ^(max) represents an upper bound of a water level of the channel I; Q_(I) ^(min) represents a lower bound of the flow rate of the channel I; and H_(I) ^(min) represents a lower bound of the water level of the channel I.

Specifically, in consideration of the ecological and operational rules of the watershed network, the flow rate and water level of channels are limited within the preset range.

Water levels of channels are the same at a confluent node z, expressed as:

H _(j,m) ^(n) =H _(j,i) ^(n) ,∀m∈Ω _(z+) ,∀i∈Ω _(z−) ,∀n∈T ^(w) ,∀z∈Z  (14).

(S390) Considering that an inflow of the confluent node z is equal to an outflow of the confluent node z according to mass conservation principle, equation (15) is deduced:

$\begin{matrix} {{{{\sum\limits_{m \in \Omega_{{\mathcal{z}} +}}{q_{J_{m},m}^{n}B_{m}}} + {\sum\limits_{k \in P_{\mathcal{z}}}{\alpha_{k,n}^{p}q_{k,n}^{p}}}} = {\sum\limits_{i \in \Omega_{{\mathcal{z}} -}}{q_{0,i}^{n}B_{i}}}},(15)} & (15) \end{matrix}$ ∀n ∈ T^(w), ∀𝓏 ∈ Z;

where Z represents a confluent node set of the watershed network; Ω_(z+) represents a set of channels that flow into the confluent node z; Ω_(z−) represents a set of channels that flow out from the confluent node z; q_(k,n) ^(p) represents a flow rate of a pump station k at time n; P_(z) represents a set of pump stations connected to the confluent node z; α_(k,n) ^(p)∈{−1,1} is a given value; α_(k,n) ^(p)=−1 denotes that the pump station k is used to pump water at time n; α_(k,n)=1 denotes that the pump station k is used to drain water at time n; m represents a channel number index; q_(J) _(m) _(,m) ^(n) represents a flow rate per unit width of channel m at point (J_(m), n); B_(m) represents a width of the channel m; B_(i) represents a width of channel i; and q_(0,i) ^(n) represents a flow rate per unit width of the channel i at point (0, n).

In an embodiment, step (S120) includes the following steps.

(S401) A water storage volume S_(I,c) ^(n) of the channel I at time n is obtained, expressed as:

$\begin{matrix} {{S_{I,c}^{n} = {\sum\limits_{j = 0}^{J_{I} - 1}{\frac{\left( {H_{j,I}^{n} + H_{{j + 1},I}^{n}} \right)}{2}B_{I}\Delta x}}},{\forall{I \in \Omega}},{\forall{n \in {T^{w}.}}}} & (16) \end{matrix}$

Specifically, the channels and lakes can be used as intermediate storage facilities for rainwater in rainy weather.

The water storage volume S_(I,c) ^(n) is limited to a preset range, expressed as:

S _(I,c,min) ^(n) ≤S _(I,c) ^(n) ≤S _(I,c,max) ^(n) ,∀I∈Ω,∀n∈T ^(w)  (17),

where H_(j,I) ^(n) represents a water level of the channel I at the point (j, n); B_(I) represents a width of the channel I; S_(I,c,min) ^(n) represents a minimum water storage volume of the channel I; S_(I,c,max) ^(n) represents a maximum water storage volume of the channel I; J_(I) represents a maximum spatial index of the channel I.

(S402) A relationship between water discharge and water level of lake k at each period is acquired, expressed as:

$\begin{matrix} {{{A_{k,a}\frac{H_{k,a}^{n + 1} - H_{k,a}^{n}}{\Delta t}} = {{r_{k}^{n}\left( {A_{k,a} + {\alpha_{k,a}F_{k,a}}} \right)} - {\sum\limits_{i \in k_{p}}{\alpha_{i,n}^{p}q_{i,n}^{p}}}}},} & (18) \end{matrix}$ ∀k ∈ K, ∀n ∈ T^(w).

(S403) A current volume of the lake k is acquired, expressed as:

S _(k,a) ^(n) =A _(k,a) H _(k,a) ^(n) ,∀k∈K,∀n∈T ^(w)  (19).

(S404) A constraint for secure operation of the lake k is acquired, expressed as:

S _(k,a,min) ≤S _(k,a) ^(n) ≤S _(k,a,max) ,∀k∈K,∀n∈T ^(w)  (20),

where A_(k,a) represents an area of the lake k; H_(k,a) ^(n) represents a water level of the lake k at time n; α_(k,a) represents a runoff coefficient of the lake k; F_(k,a) represents a catchment area of the lake k; S_(k,a) ^(n) represents a water storage volume of the lake k at time n; S_(k,a,min) represents a minimum water storage volume of the lake k; S_(k,a,max) represents a maximum water storage volume of the lake k; K represents a lake set; k_(p) represents a set of pump stations connected to the lake k; q_(i,n) ^(p) represents a flow rate of the pump station i at time n; r_(k) ^(n) represents a rainfall intensity at the lake k at time n; and α_(i,n) ^(p) represents an operation state of the pump station i at time n.

In an embodiment, the step (S130) includes the following steps.

(S501) The distribution network linear AC power flow model is constructed to characterize power flow constraints, generator operating constraints and bus power balance constraints, where an active power flow of line ij is expressed as:

$\begin{matrix} {{P_{{ij},n} = {{\frac{r_{ij}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}}}},{{\forall{n \in T^{*}}};}} & (21) \end{matrix}$

a reactive power flow of the line ij is expressed as:

$\begin{matrix} {{Q_{{ij},n}^{e} = {{\frac{{- r_{ij}}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}}}},{{\forall{n \in T^{*}}};}} & (22) \end{matrix}$

where r_(ij) represents a resistance of the line ij; x_(ij) represents a reactance of the line ij; P_(ij,n) represents an active power flowing from bus i to bus j at time n; Q_(ij,n) ^(e) represents a reactive power flowing from the bus i to the bus j at time n; δ_(j,n) represents a phase angle of the bus j at time n; V_(j,n) represents a voltage amplitude of the bus j at time n; δ_(j,n) represents a phase angle of the bus i at time n; V_(i,n) represents a voltage amplitude of the bus i at time n; and T*={1, 2, . . . , N}, representing a time index set of the urban distribution network.

The reactive power flow and the active power flow of the line ij and the voltage amplitude of the bus j satisfy the following security constraints:

$\begin{matrix} \left\{ {\begin{matrix} {{- S_{ij}} \leq P_{{ij},n} \leq S_{ij}} \\ {{- S_{ij}} \leq Q_{{ij},n}^{e} \leq S_{ij}} \end{matrix},{{\forall{n \in T^{*}}};\ {and}}} \right. & (23) \end{matrix}$ $\begin{matrix} {{V_{j}^{\min} \leq V_{j,n} \leq V_{j}^{\max}},{{\forall{n \in T^{*}}};}} & (24) \end{matrix}$

where S_(ij) represents a rated apparent power capacity of the line ij; V_(j) ^(min) represents a minimum voltage allowed for the bus j; and V_(j) ^(max) represents a maximum voltage allowed for the bus j.

(S502) An output power limit of a distributed generator g is acquired, expressed as:

P _(g,min) ^(CDG) ≤P _(g,n) ^(CDG) ≤P _(g,max) ^(CDG) ,∀g∈G,∀n∈T*  (25).

(S503) A ramp limit of the distributed generator g is acquired, expressed as:

R _(g,down) ^(CDG) ≤P _(g,n) ^(CDG) −P _(g,n−1) ^(CDG) ≤R _(g,up) ^(CDG) ,∀g∈G,∀n∈T*  (26).

(S504) A capacity limit of the distributed generator g is acquired, expressed as:

$\begin{matrix} \left\{ {\begin{matrix} {{- S_{g}^{CDG}} \leq P_{g,n}^{CDG} \leq S_{g}^{CDG}} \\ {{- S_{g}^{CDG}} \leq Q_{g,n}^{CDG} \leq S_{g}^{CDG}\ } \end{matrix},{\forall{g \in G}},{\forall{n \in {T^{*}\ .}}}} \right. & (27) \end{matrix}$

(S505) Power balance constraints for buses are acquired, expressed as:

∑ i ⁢ j ∈ Λ j + ⁢ m P i ⁢ j , n + ∑ g ∈ G j P g , n C ⁢ D ⁢ G - ∑ p ∈ P j P p , n fle - ∑ p ∈ P j P p , n p - P j , n load = ∑ j ⁢ k ∈ Λ j - P j ⁢ k , n , ∀ j ∈ J , ∀ n ∈ T * ⁢ and ( 28 ) ∑ i ⁢ j ∈ Λ j + ⁢ m Q ij , n e + ∑ g ∈ G j Q g , n C ⁢ D ⁢ G - ∑ p ∈ P j Q p , n p - Q j , n load = ∑ j ⁢ k ∈ Λ j - Q jk , n , ∀ j ∈ J , ∀ n ∈ T * ; ( 29 )

where P_(g,n) ^(CDG) represents an active power generated by the distributed generator g at time n; Q_(g,n) ^(CDG) represents a reactive power generated by the distributed generator g at time n; P_(g,max) ^(CDG) represents a maximum allowable output power of the distributed generator g; P_(g,min) ^(CDG) represents a minimum allowable output power of the distributed generator g; R_(g,up) ^(CDG) represents a maximum allowable ramp rate of the distributed generator g; R_(g,down) ^(CDG) represents a minimum allowable ramp rate of the distributed generator g; G represents a generator set; G_(j) represents a set of generators connected to the bus j; P_(j) represents a set of pump stations connected to the bus j; J represents a bus set of the urban distribution network; Λ_(j+) represents a set of lines whose power flows into the bus j; Λ_(j−) represents a set of lines whose power flows out from the bus j; P_(j,n) ^(load) represents an active load at the bus j except for a pump station load at time n; Q_(j,n) ^(load) represents a reactive load at the bus j except for the pump station load at time n; P_(p,n) ^(fle) represents a flexibility amount offered by pump station p at time n; S_(g) ^(CDG) is a rated apparent capacity for the distributed generator g; P_(jk,n) represents an active power flow on line jk at time n; P_(p,n) ^(p) represents an active load of the pump station p at time n; and Q_(p,n) ^(p) represents a reactive load of the pump station p at time n.

In an embodiment, the step (S130) further includes the following steps.

(S601) An operating power-flow rate relationship for pump stations is acquired, expressed as:

$\begin{matrix} {{P_{i,n}^{p} = \frac{\rho gH_{i}^{st}q_{i,n}^{p}}{1000\eta_{i}^{p}}},{\forall{i \in P}},{\forall{n \in {T^{*}.}}}} & (30) \end{matrix}$

(S602) Pump station power limits are acquired, expressed as:

−R _(i) ^(p) ≤P _(i,n) ^(p) −P _(i,n−1) ^(p) ≤R _(i) ^(p) ,∀i∈P,∀n∈T*  (31); and

P _(i,min) ^(p) ≤P _(i,n) ^(p) ≤P _(i,max) ^(p) ,∀i∈P,∀n∈T*  (32).

(S603) A pump station reactive load constraint is acquired, expressed as:

Q _(i,n) ^(p) =P _(i,n) ^(p) tan(arccos(ϕ_(i) ^(p))),∀i∈P,∀n∈T*  (33),

where P represents a set of pump stations in the watershed network; P_(i,n) ^(p) represents an active load of the pump station i at time n; Q_(i,n) ^(p) represents a reactive load of the pump station i at time n; η_(i) ^(p) represents an operation efficiency of the pump station i; R_(i) ^(p) represents a maximum ramp rate of the pump station i; H_(i) ^(st) represents a water head of the pump station i; ρ is water density; P_(i,min) ^(p) represents a lower bound of the reactive load of the pump station i; P_(i,max) ^(p) represents an upper bound of the active load of the pump station i; and ϕ_(i) ^(p) is a power factor of the pump station i.

In an embodiment, the step (S140) includes the following steps.

(S701) Based on Taylor series expansion, equations (6) and (7) are expanded into:

$\begin{matrix} {{{f_{\{{1,2}\}}\begin{Bmatrix} {{H_{j + 1}^{n} + {\Delta H_{j + 1}}},} \\ {{H_{j}^{n} + {\Delta H}},} \\ {{q_{j + 1}^{n} + {\Delta q_{j + 1}}},} \\ {q_{j}^{n} + {\Delta q_{j}}} \end{Bmatrix}} = \begin{Bmatrix} {{f_{\{{1,2}\}}\left( {H_{j + 1}^{n},H_{j}^{n},q_{j + 1}^{n},q_{j}^{n}} \right)} + {\frac{\partial f_{\{{1,2}\}}}{\partial H_{j + 1}^{n}}\Delta H_{j + 1}}} \\ {{{+ \frac{\partial f_{\{{1,2}\}}}{\partial H_{j}^{n}}}\Delta H_{j}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j + 1}^{n}}\Delta q_{j + 1}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\Delta q_{j}}} \end{Bmatrix}};} & (34) \end{matrix}$

where ƒ_({1,2}) represents a collective name for defined functions ƒ₁ and ƒ₂; subscripts 1 and 2 of the ƒ_({1,2}) represent selection of function ƒ₁ or function ƒ₂; ΔH_(j) represents a variation of a water level at point (j, n) after adjusting a pump station power; H_(j) ^(n) represents a water level at the point (j, n); Δq_(j) represents a variation of a flow rate at the point (j, n) after adjusting the pump station power; and q_(j) ^(n) represents a flow rate at the point (j, n); ƒ₁ is defined in equation (6); and ƒ₂ is defined in equation (7).

Specifically, the variation of the operation power of pump station may alter the water level and flow rate at each point of the watershed network, causing hydraulic state variables of channels to violate hydraulic constraints of the watershed network. Therefore, in order to quantify the impact of the power increment of pump stations on the hydraulic dynamic characteristics of channels, a sensitivity analysis of the watershed network is carried out by using the Taylor series expansion neglecting the high-order nonlinear term. Succinctly, the subscript I is neglected in this embodiment. The construction process of watershed-electricity composite sensitivity matrix for a single channel can be applied to all channels in the watershed network. Generally, for a channel connecting several pump stations, it is divided into multiple channels at the location of the pump station. Therefore, a pump station is located at the upstream or downstream of a channel in the watershed network.

(S702) A sensitivity matrix of individual channels under different disturbances at time n is acquired, expresses as:

$\begin{matrix} {\underset{M}{\underset{︸}{\begin{bmatrix} a_{0} & b_{0} & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{1} & b_{1} & c_{1} & d_{1} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{2} & b_{2} & c_{2} & d_{2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{3} & b_{3} & c_{3} & d_{3} & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{4} & b_{4} & c_{4} & d_{4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 3} & b_{{2J} - 3} & b_{{2J} - 3} & d_{{2J} - 3} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 2} & b_{{2J} - 2} & c_{{2J} - 2} & d_{{2J} - 2} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & c_{2J} & d_{2J} \end{bmatrix}}}\text{ }{{\underset{\Delta X}{\underset{︸}{\begin{bmatrix} {\Delta H_{0}} \\ {\Delta q_{0}} \\ {\Delta H_{1}} \\ {\Delta q_{1}} \\  \vdots \\ {\Delta H_{J - 1}} \\ {\Delta q_{J - 1}} \\ {\Delta H_{J}} \\ {\Delta q_{J}} \end{bmatrix}}} = \underset{F}{\underset{︸}{\begin{bmatrix} F_{1} \\ F_{2} \\ F_{3} \\ F_{4} \\  \vdots \\ F_{{2J} - 3} \\ F_{{2J} - 2} \\ F_{{2J} - 1} \\ F_{2J} \end{bmatrix}}}};}} & (35) \end{matrix}$

where M represents a sensitivity coefficient matrix; ΔX represents a variation matrix of water level and flow rate at points; F represents a constant matrix at a current time; elements in the M and elements in the F are constants; the elements in the M are partial derivatives of water level and flow rate at time n; the elements in the F are products of space-time difference results of the ƒ₁ or ƒ₂ and −Dt; a₀, b₀ and F₁ are determined by the upstream boundary condition; and c_(2J), d_(2J) and F_(2J) are determined by the downstream boundary condition; the remaining elements are determined by calculated by partial derivatives such as α_(2j−2) and α_(2j−1) in equation (36); when the subscript of the element a is an odd number, the element a is obtained by taking the partial derivative of ƒ₁ with respect to the water level at the point (j−1, n); when the subscript of the element a is an even number, the element a is obtained by taking the partial derivative of ƒ₂ with respect to the water level at point (j−1, n); when the subscript of the element b is an odd number, the element b is obtained by taking the partial derivative of ƒ₁ with respect to the flow rate at the point (j−1, n); when the subscript of the element b is an even number, the element b is obtained by taking the partial derivative of ƒ₂ with respect to the flow rate at the point (j−1, n); when the subscript of the element c is an odd number, the element c is obtained by taking the partial derivative of ƒ₁ with respect to the water level at the point (j, n); when the subscript of the element c is an even number, the element c is obtained by taking the partial derivative of ƒ₂ with respect to the water level at the point (j, n); when the subscript of the element d is an odd number, the element d is obtained by taking the partial derivative of ƒ₁ with respect to the flow rate at the point (j, n); when the subscript of the element dis an even number, the element d is obtained by taking the partial derivative of ƒ₂ with respect to the flow rate at the point (j, n); when the subscript of the element F is an even number, the element F is obtained by multiplying the spatio-temporal difference result of ƒ₁ with respect to the water level at the spatial point j−1 by −Dt; when the subscript of the element F is an odd number, the element F is obtained by multiplying the spatio-temporal difference result of ƒ₂ with respect to the water level at the spatial point j−1 by −Dt.

The elements in the M are obtained through the following equation:

$\begin{matrix} \left\{ {\begin{matrix} {{a_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j - 1}^{n}}},{b_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j - 1}^{n}}},{c_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j}^{n}}},{d_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j}^{n}}}} \\ {{a_{2j} = \frac{\partial f_{2}}{\partial H_{j - 1}^{n}}},{b_{2j} = \frac{\partial f_{2}}{\partial q_{j - 1}^{n}}},{c_{2j} = \frac{\partial f_{2}}{\partial H_{j}^{n}}},{d_{2j} = \frac{\partial f_{2}}{\partial q_{j}^{n}}}} \\ {{a_{0} = \frac{\partial f^{u}}{\partial H_{0}^{n}}},{b_{0} = \frac{\partial f^{u}}{\partial q_{0}^{n}}},{c_{2J} = \frac{\partial f^{d}}{\partial H_{J}^{n}}},{d_{2J} = \frac{\partial f^{d}}{\partial q_{J}^{n}}}} \end{matrix}.} \right. & (36) \end{matrix}$

(S703) A relationship between a power increment of a pump station and a flow rate increment at point (j, n) where the pump station is located is obtained through equations (37) and (38):

$\begin{matrix} {{\frac{\partial f_{\{{1,2}\}}}{\partial P_{P_{I},n}^{p}} = {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}}};{and}} & (37) \end{matrix}$ $\begin{matrix} {{{\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}} = \frac{1000\eta_{P_{I}}^{p}}{B_{I}\rho{gH}_{P_{I}}^{st}}};} & (38) \end{matrix}$

where P_(I) represents index of a pump station connected to the channel I, ∂ƒ_({1,2})/∂P_(P) _(I) _(,n) ^(p) represents a partial derivative of ƒ₁ or ƒ₂ with respect to P_(P) _(I) _(,n) ^(p); P_(P) _(I) _(,n) ^(p) represents an active load of the pump station P_(I) at time n; q_(P) _(I) _(,n) ^(p) represents a flow rate of the pump station P_(I) at time n; H_(P) _(I) ^(st) represents a water head of the pump station P_(I); η_(P) _(I) ^(p) represents an operation efficiency of the pump station P_(I).

(S704) The equations (37) and (38) are plugged into the sensitivity matrix to expand the M into M′, such that the watershed-electricity composite sensitivity matrix of individual channels is expressed as:

$\begin{matrix} {{{\underset{M^{\prime}}{\underset{︸}{\begin{bmatrix} Z_{1,1} & Z_{1,2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ Z_{2,1} & Z_{2,2} & Z_{2,3} & Z_{2,4} & \ldots & 0 & 0 & 0 & 0 \\ Z_{3,1} & Z_{3,2} & Z_{3,3} & Z_{3,4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & \ldots & Z_{4,1} & Z_{4,2} & Z_{4,3} & Z_{4,4} \\ 0 & 0 & 0 & 0 & \ldots & Z_{5,1} & Z_{5,2} & Z_{5,3} & Z_{5,4} \\ 0 & 0 & 0 & 0 & \ldots & 0 & 0 & Z_{6,1} & Z_{6,1} \end{bmatrix}}}\underset{\Delta X^{\prime}}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {\Delta H_{0}} \\ {\Delta P_{I}^{p,u}} \end{matrix} \\ {\Delta H_{1}} \end{matrix} \\ {\Delta q_{1}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta H_{J - 1}} \end{matrix} \\ {\Delta q_{J - 1}} \end{matrix} \\ {\Delta H_{J}} \end{matrix} \\ {\Delta P_{I}^{p,d}} \end{bmatrix}}}} = \underset{F}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\ F_{3} \end{matrix} \\ F_{4} \end{matrix} \\  \vdots  \end{matrix} \\ F_{{2J} - 3} \end{matrix} \\ F_{{2J} - 2} \end{matrix} \\ F_{{2J} - 1} \end{matrix} \\ F_{2J} \end{bmatrix}}}};} & (39) \end{matrix}$

where M′ represents a sensitivity coefficient expansion matrix; ΔX′ represents a variation expansion matrix of water level and flow rate; F represents a constant matrix at a current time; the elements in the F are products of the space-time difference results of the ƒ₁ or ƒ₂ and −Dt; ΔP_(I) ^(p,u) represents a power increment of a pump station located upstream of the channel I; ΔP_(I) ^(p,d) represents a power increment of a pump station located downstream of the channel I. Specifically, the first and last terms of the F are determined by the boundary conditions, even terms of F are obtained by multiplying the results of the space-time difference of equation (6) by −Dt, and odd terms of F are obtained by multiplying the results of the space-time difference of equation (7) by −Dt.

Specifically,

${Z_{1,1} = \frac{\partial f^{u}}{\partial H_{0}}};{Z_{1,2} = {\frac{\partial f^{u}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{2,1} = \frac{\partial f_{1}}{\partial H_{0}}};$ ${Z_{2,2} = {\frac{\partial f_{1}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{2,3} = \frac{\partial f_{1}}{\partial H_{1}}};{Z_{2,4} = \frac{\partial f_{1}}{\partial q_{1}}};{Z_{3,1} = \frac{\partial f_{1}}{\partial q_{1}}};$ ${Z_{3,2} = {\frac{\partial f_{2}}{\partial q_{J - 1}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{3,3} = \frac{\partial f_{2}}{\partial H_{1}}};{Z_{3,4} = \frac{\partial f_{2}}{\partial q_{1}}};{Z_{4,1} = \frac{\partial f_{1}}{\partial H_{J - 2}}};$ ${Z_{4,2} = \frac{\partial f_{1}}{\partial q_{J - 2}}};{Z_{4,3} = \frac{\partial f_{1}}{\partial H_{J - 1}}};{Z_{4,4} = {\frac{\partial f_{1}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ ${Z_{5,1} = \frac{\partial f_{2}}{\partial H_{J - 2}}};{Z_{5,2} = \frac{\partial f_{2}}{\partial q_{J - 2}}};$

q_(I) ^(p,u) represents a flow rate of the pump station located upstream of the channel I; q_(I) ^(p,d) represents a flow rate of the pump station located downstream of the channel I; P_(I) ^(p,u) represents an active load of the pump station located upstream of the channel I; and P_(I) ^(p,d) represents an active load of the pump station located downstream of the channel I.

(S705) Sensitivity matrices of all channels in the watershed network are combined to obtain the watershed-electricity composite sensitivity matrix of the watershed network, expressed as:

$\begin{matrix} {{{\begin{bmatrix} M_{1}^{\prime} & 0 & 0 & \ldots & 0 & 0 \\ 0 & M_{2}^{\prime} & 0 & \ldots & 0 & 0 \\ 0 & 0 & \ddots & \ldots & 0 & 0 \\ 0 & \ldots & 0 & M_{I}^{\prime} & \ldots & 0 \\ 0 & \ldots & \ldots & \ldots & \ddots & 0 \\ 0 & 0 & \ldots & 0 & 0 & M_{I_{\star}}^{\prime} \end{bmatrix}\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {\Delta X_{1}^{\prime}} \\ {\Delta X_{2}^{\prime}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta X_{I}^{\prime}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta X_{I_{\star}}^{\prime}} \end{bmatrix}} = \begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\  \vdots  \end{matrix} \\ F_{I} \end{matrix} \\  \vdots  \end{matrix} \\ F_{I_{\star}} \end{bmatrix}};} & (40) \end{matrix}$

where M_(I)′ represents a sensitivity coefficient expansion matrix of the channel I; ΔX_(I)′ represents ΔX′ of the channel I, which represents a variation expansion matrix of water level and flow rate of the channel I; F_(I) represents F of the channel I; and I* represents the number of channels in the watershed network.

Specifically, a large number of channels are distributed in the watershed network, and their storage capacity combined with pump stations can provide abundant flexible resources for the urban distribution network.

Specifically, the load of the pump stations distributed in the watershed network can provide flexible resource for the urban distribution network. An adjustment amount of the power of the pump stations should be adjusted according to a requirement of flexible resource of the urban distribution network. In order to characterize the flexibility of the watershed network, a basic scenario is determined as follows: without considering the flexibility provided by the watershed network to the urban distribution network, the watershed network operates only to drain excess rainwater, and the basic power of the pump station can be adjusted up and down in this scenario, and the maximum adjustment range is the time-varying adjustable power domain. The time-varying adjustable power domain is required to satisfy the maximum and minimum storage capacities, ramp power, and power limits of pump station load.

The water level at each points of the channel varies with the operating power of the pump station, directly affecting the storage volume of the channel and lake, which in turn, affects the space-time flexibility of pump station load. Thus, this application provides the flexibility assessment method of pump station based on the watershed-electricity composite sensitivity matrix to assess and calculate the time-varying adjustable power domain of the pump station.

In step (S150), the time-varying adjustable power domain is estimated through the following steps.

(S801) A baseline active load of each pump station is obtained through optimal scheduling of the watershed network under a basic scenario, and the time-varying adjustable power domain of each pump station is estimated using equation (41):

$\begin{matrix} {{F_{i}^{n} = \left\{ {{{\Delta P_{i,n}^{p}} \in ▯}❘\begin{matrix} \begin{matrix} \begin{matrix} {{{\underline{P}}_{i}^{p} \leq {{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}}} \leq {\overset{\_}{P}}_{i}^{p}},{\forall{i \in P}}} \\ {{S_{i,a,\min} \leq {{\overset{\sim}{S}}_{i,a}^{n} + \frac{1000\eta_{P_{i}}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,a,\max}},{\forall{i \in P_{a}}}} \end{matrix} \\ {{S_{i,c,\min} \leq {{\overset{\sim}{S}}_{i,c}^{n} + \frac{1000\eta_{i}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,c,\max}},{\forall{i \in P_{ch}}}} \end{matrix} \\ {{{❘{{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}} - P_{i,{n - 1}}^{p}}❘} \leq R_{i}^{p}},{\forall{i \in P}}} \end{matrix}} \right\}},} & (41) \end{matrix}$

where P _(i) ^(p) represents an upper limit of the active load of the pump station i; P _(i) ^(p) represents a lower limit of the active load of the pump station i; {tilde over (S)}_(i,n) represents a baseline storage volume of channel i or lake i; {tilde over (P)}_(i,n) ^(p) represents a baseline active load of the pump station i; ΔP_(i,n) ^(p) represents a power adjustment of an active load of the pump station i; F_(i) ^(n) represents the time-varying adjustable power domain of the pump station i at time n;

represents a real number set; S_(i,a,min) represents a minimum storage volume of the lake i; S_(i,a,max) represents a maximum storage volume of the lake i; {tilde over (S)}_(i,a) ^(n) represents a baseline storage volume of the lake i at time n; η_(P) _(i) ^(p) represents an operation efficiency of the pump station connected to the channel i or the lake i; ΔP_(P) _(I) _(,n) ^(p) represents a power adjustment of an active load of the pump station connected to the channel i or the lake i; P_(a) represents a set of pump stations connected to the lake i; P_(ch) represents a set of pump stations connected to the channel i; P represents a set of pump stations; S_(i,c,min) represents a minimum storage volume of the channel i; S_(i,c,max) represents a maximum storage volume of the channel i; and {tilde over (S)}_(i,c) ^(n) represents a baseline storage volume of the channel i at time n.

In step (S150), the time-varying adjustable power domain is corrected through the following steps

(S802) The time-varying adjustable power domain is corrected according to the adjustment amount and expressed as:

F _(i) ^(*,n) ={ΔP _(i,n) ^(p) ∈

|P _(i,n) ^(fle,min) ≤ΔP _(i,n) ^(p) +dP _(n) ^(p) ≤P _(i,n) ^(fle,max)}  (42),

where P_(i,n) ^(fle,max) represents a corrected upper bound of the time-varying adjustable power for the pump station i at time n; P_(i,n) ^(fle,min) represents a corrected lower bound of the time-varying adjustable power for the pump station i at time n; F_(i) ^(*,n) represents a real time-varying adjustable power domain of the pump station i at time n; ΔP_(i,n) ^(p) represents an adjustment amount of the active load of the pump station i at time n; and dP_(n) ^(P) represents a certain margin of adjustable power reserved because higher-order terms in (34) are ignored, which is generally determined by the experiences based on operation states.

In an embodiment, the step (S160) includes the following steps.

(S901) Optimal coordinated rolling scheduling is performed on a pump station group distributed in the watershed network, where a plurality of stochastic scenarios are generated according to uncertainty of rainfall prediction at a future moment; an objective of watershed network hydraulic energy flow optimization is to minimize an operational cost of the pump station group; the operational cost comprises an electricity consumption cost of the pump station group and an expected electricity consumption cost of the pump station group in the plurality of stochastic scenarios; and the hydraulic energy flow optimization model is expressed as:

$\begin{matrix} {{\min\left\{ {{ELC_{n_{0}}} + {\sum\limits_{s = 1}^{NS}{\pi_{s}\left( {\sum\limits_{n = {n_{0} + 1}}^{n_{0} + N_{T}}{ELC_{n,s}}} \right)}}} \right\}};} & (43) \end{matrix}$ $\begin{matrix} {{{{EL}C_{n}} = {C_{E,n}\Delta t{\sum\limits_{i \in P}P_{i,n}^{p}}}};} & (44) \end{matrix}$

-   -   s.t. the equations (6)-(20) and (30)-(33) (45);

where ELC_(n) represents an electricity consumption cost of the pump station group at time n; ELC_(n,s) represents an electricity consumption cost of the pump station group at time n under scenario s; n₀ represents an initial moment of the watershed network hydraulic energy flow optimization; NS represents a total number of the plurality of stochastic scenarios; N_(T) represents a length of a predicted time horizon; π_(s) represents an occurrence probability of the scenario s; Σ_(s=1) ^(NS)π_(s)=1; and C_(E,n) represents an electricity price of the urban distribution network at time n.

(S902) The power flow optimization model is constructed. A power flow of the urban distribution network and a power of individual generators are optimized by using the flexible resource of the pump station group, so as to minimize an operational cost of the urban distribution network at a current time.

The operational cost DC_(n) includes a cost DC_(1n) for purchasing power from a main grid, a generator operation cost DC_(2n), an incentive cost DC_(3n) of flexible resources of the watershed network and an electricity-selling profit DC_(4n). The power flow optimization model is expressed as:

$\begin{matrix} \left\{ {\begin{matrix} {{\min DC_{n}} = {{DC_{1n}} + {DC_{2n}} + {DC_{3n}} - {DC_{4n}}}} \\ {{DC_{1n}} = {C_{{mg},n}P_{n}^{mg}}} \\ {{DC_{2n}} = {{\sum\limits_{g \in G}{a_{g}\left( P_{g,n}^{CDG} \right)}^{2}} + {b_{g}\left( P_{g,n}^{CDG} \right)} + c_{g}}} \\ {{DC_{3n}} = {C_{{IN},n}{\sum\limits_{i \in P}{\hat{P}}_{i,n}^{fle}}}} \\ {{DC_{4n}} = {C_{E,n}{\sum\limits_{j \in J}{\sum\limits_{i \in P_{j}}\left( {P_{i,n}^{p} + P_{i,n}^{fle} + P_{j,n}^{load}} \right)}}}} \end{matrix};{and}} \right. & (46) \end{matrix}$ $\begin{matrix} {s.t.{}\left\{ {\begin{matrix} \begin{matrix} {{the}{equations}(21) - (29)} \\ {{P_{i,n}^{{fle},\min} \leq P_{i,n}^{fle} \leq P_{i,n}^{{fle},\max}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \\ {{P_{i,n}^{fle} \leq {\overset{\hat{}}{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \end{matrix} \\ {{{- P_{i,n}^{fle}} \leq {\overset{\hat{}}{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \end{matrix};} \right.} & (47) \end{matrix}$

where C_(mg,n) represents an electricity price of the main grid at time n; P_(n) ^(mg) represents an electricity purchasing quantity of the urban distribution network from the main grid at time n; C_(IN,n) represents an incentive price of the flexible resource at time n; a_(g), b_(g) and c_(g) are cost coefficients of the generator g; P_(i,n) ^(fle,min) represents a lower limit of an adjustable power of the pump station i at time n; P_(i,n) ^(fle,max) represents an upper limit of the adjustable power of the pump station i at time n; {circumflex over (P)}_(i,n) ^(fle) is an auxiliary variable; and P_(i,n) ^(fle) represents an adjustment amount of the active load of the pump station i set by the urban distribution network at time n.

(S903) The equations (8) and (9) are converted to a set of linear constraints by using a multidimensional piecewise linearization method shown in FIG. 5 .

Briefly, the superscript n of H_(j) ^(n) and q_(j) ^(n) is neglected in the process of elaborating how to carry out the multi-dimensional piecewise linearization.

Referring to FIG. 5 , a value range [0, H_(j) ^(max)] of H_(j) is divided into K segments by H_(j,0), H_(j,1), . . . and H_(j,K). A value range [0, q_(j) ^(max)] of q_(j) is divided into M segments by q_(j,0), q_(j,1), . . . and q_(j,M). H_(j) ^(max) is a maximum of H_(j). q_(j) ^(max) is a maximum of q_(j). Accordingly, domains of equations (8) and (9) are divided into a rectangular grid composed of a plurality of rectangles. Vertices of a rectangle are denoted by (H_(j,k), q_(j,m)), (H_(j,k+1), q_(j,m)), (H_(j,k), q_(j,m+1)) and (H_(j,k+1), q_(j,m+1)). Vertices of each rectangle are defined a set of continuous variables. Each rectangle can be divided into two triangles (an upper right triangle and a lower left triangle). 0-1 variables

_(j) ^(k,m) and

_(j) ^(k,m) are used to indicate whether a point falls within the upper right triangle and lower left triangles. Î_(j) is a linear approximation of I_(j). {circumflex over (R)}_(j) is a linear approximation of R_(j). Therefore, the equations (8) and (9) are converted to equations (48)-(59):

$\begin{matrix} {{{\hat{I}}_{j} = {\sum\limits_{k = 0}^{K}{\sum\limits_{m = 0}^{M}{\lambda_{j}^{k,m}{I\left( {H_{j,k},q_{j,m}} \right)}}}}};} & (48) \end{matrix}$ $\begin{matrix} {{{\overset{\hat{}}{R}}_{j} = {\sum\limits_{k = 0}^{K}{\sum\limits_{m = 0}^{M}{\lambda_{j}^{k,m}{R\left( {H_{j,k},q_{j,m}} \right)}}}}};} & (49) \end{matrix}$ $\begin{matrix} {{H_{j} = {\sum\limits_{k = 0}^{K}{\sum\limits_{m = 0}^{M}{H_{j,k}\lambda_{j}^{k,m}}}}},{{q_{j} = {\sum\limits_{k = 0}^{K}{\sum\limits_{m = 0}^{M}{q_{j,m}\lambda_{j}^{k,m}}}}};}} & (50) \end{matrix}$ $\begin{matrix} {{{\sum\limits_{k = 0}^{K - 1}{\sum\limits_{m = 0}^{M - 1}\left( {{\overset{\overset{\_}{¯}}{\omega}}_{j}^{k,m} + {\underset{¯}{\overset{\_}{\omega}}}_{j}^{k,m}} \right)}} = 1},{\forall{\overset{\_}{\overset{\_}{\omega}}}_{j}^{k,m}},{{{\overset{\_}{\underline{\omega}}}_{j}^{k,m} \in \left\{ {0,1} \right\}};}} & (51) \end{matrix}$ $\begin{matrix} {{{\sum\limits_{k = 0}^{K}{\sum\limits_{m = 0}^{M}\lambda_{j}^{k,m}}} = 1},{{\forall{\lambda_{j}^{k,m} \in \left\lbrack {0,1} \right\rbrack}};}} & (52) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{0,0} \leq {\overset{\_}{\overset{\_}{\omega}}}_{j}^{0,0}},{+ {\underset{¯}{\overset{\_}{\omega}}}_{j}^{0,0}},{{\lambda_{j}^{K,M} \leq {{\overset{\_}{\overset{\_}{\omega}}}_{j}^{{K - 1},{M - 1}} + {\overset{\_}{\underline{\omega}}}_{j}^{{K - 1},{M - 1}}}};}} & (53) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{K,0} \leq {\underline{\overset{\_}{\omega}}}_{j}^{{K - 1},0}},{{\lambda_{j}^{0,M} \leq {\overset{\_}{\overset{\_}{\omega}}}_{j}^{0,{M - 1}}};}} & (54) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{k,0} \leq {{\underline{\overset{\_}{\omega}}}_{j}^{{k - 1},0} + {\overset{\_}{\overset{\_}{\omega}}}_{j}^{k,0} + {\overset{\_}{\underline{\omega}}}_{j}^{k,0}}},{{\forall k} = 1},\ldots,{{K - 1};}} & (55) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{K,m} \leq {{\overset{\_}{\underline{\omega}}}_{j}^{{k - 1},{M - 1}} + {\overset{\_}{\overset{\_}{\omega}}}_{j}^{{k - 1},{M - 1}} + {\overset{\_}{\overset{¯}{\omega}}}_{j}^{k,{M - 1}}}},{{\forall k} = 1},\ldots,{{K - 1};}} & (56) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{0,m} \leq {{\overset{\_}{\overset{\_}{\omega}}}_{j}^{0,{m - 1}} + {\overset{\_}{\overset{\_}{\omega}}}_{j}^{0,m} + {\underline{\overset{\_}{\omega}}}_{j}^{0,m}}},{{\forall m} = 1},\ldots,{{M - 1};}} & (57) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{K,m} \leq {{\underline{\overset{\_}{\omega}}}_{j}^{{K - 1},{m - 1}} + {\overset{\_}{\overset{\_}{\omega}}}_{j}^{{K - 1},{m - 1}} + {\underline{\overset{\_}{\omega}}}_{j}^{{K - 1},m}}},{{\forall m} = 1},\ldots,{{M - 1};}} & (58) \end{matrix}$ $\begin{matrix} {{\lambda_{j}^{k,m} \leq {{\overset{\_}{\overset{\_}{\omega}}}_{j}^{k,{m - 1}} + {\overset{\_}{\overset{\_}{\omega}}}_{j}^{{k - 1},{m - 1}} + {\overset{\_}{\overset{\_}{\omega}}}_{j}^{k,m} + {\underset{¯}{\overset{\_}{\omega}}}_{j}^{{k - 1},{m - 1}} + {\underline{\overset{\_}{\omega}}}_{j}^{{k - 1},m} + {\underline{\omega}}_{j}^{k,m}}},} & (59) \end{matrix}$ ∀k = 1, …, K − 1, ∀m = 1, …, M − 1.

Specifically, λ_(j) ^(k,m) is a continuous variable at point (H_(j,k), q_(j,m)) of the rectangular grid. H_(j,k) is a k^(th) partition point of [0, H_(j) ^(max)]. Î_(j) is an auxiliary variable introduced to approximately replace I_(j). {circumflex over (R)}_(j) is an auxiliary variable introduced to approximately replace R_(j). q_(j,m) is a m^(th) partition point of [0, q_(j) ^(max)].

_(j) ^(k,m) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,k),q_(j,m)) as an upper-left vertex.

_(j) ^(k,m) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,k),q_(j,m)) as an upper-left vertex. λ_(j) ^(0,0) is a continuous variable at point (H_(j,0),q₁₀).

_(j) ^(0,0) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,0), q_(j,0)) as an upper-left vertex.

_(j) ^(0,0) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,0),q_(j,0)) as an upper-left vertex. λ_(j) ^(K,M) is a continuous variable at point (H_(j,K),q_(j,M)).

_(j) ^(K−1,M−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,K−1),q_(j,M−1)) as an upper-left vertex.

_(j) ^(K−1,M−1) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,K−1),q_(j,M−1)) as an upper-left vertex. λ_(j) ^(k,0) is a continuous variable at point (H_(j,k),q_(j,0)).

_(j) ^(k−1,0) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,k−1),q_(j,0)) as an upper-left vertex.

_(j) ^(k,0) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,k),q_(j,0)) as an upper-left vertex.

_(j) ^(k,0) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,k),q_(j,0)) as an upper-left vertex.

_(j) ^(k,M−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,k),q_(j,M−1)) as an upper-left vertex. λ_(j) ^(0,m) is a continuous variable at point (H_(j,0),q_(j,m)).

_(j) ^(0,m−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,0),q_(j,m−1)) as an upper-left vertex.

_(j) ^(0,m) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,0),q_(j,m)) as an upper-left vertex.

_(j) ^(0,m) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,0),q_(j,m)) as an upper-left vertex. λ_(j) ^(K,m) is a continuous variable at point (H_(j,K),q_(j,m)).

_(j) ^(K−1,m−1) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,K−1),q_(j,m−1)) as an upper-left vertex.

_(j) ^(K−1,m−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,K−1),q_(j,m−1)) as an upper-left vertex.

_(j) ^(K−1,m) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,K−1),q_(j,m)) as an upper-left vertex.

_(j) ^(k,m−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,k),q_(j,m−1)) as an upper-left vertex.

_(j) ^(k−1,m−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j,k−1),q_(j,m−1)) as an upper-left vertex.

_(j) ^(k−1,m−1) is a 0-1 variable corresponding to an upper-half triangle of the rectangle in the rectangular grid with point (H_(j) ^(k−1),q_(j) ^(m−1)) as an upper-left vertex.

_(j) ^(k−1,m−1) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j) ^(k−1), q_(j) ^(m−1)) as an upper-left vertex.

_(j) ^(k−1,m) is a 0-1 variable corresponding to a lower-half triangle of the rectangle in the rectangular grid with point (H_(j,k−1),q_(j,m)) as an upper-left vertex.

In an embodiment, the step (S170) includes the following steps.

(S1010) The coordinated operation model is initialized, where a current scheduling period is set to n=1; a scheduling duration is 24 h; Dx of individual channels in the watershed network is set to 100 m; and a duration of a scheduling period D t is set to 1 h.

Specifically, Dx can be 500 m or 1 km.

(S1020) Parameters are input to the coordinated operation model, where the parameters include topological information of the watershed network, a width B_(I) of each channel, a length L_(I) of each channel, water level H_(j,I) ^(n−1) and flow rate q_(j,I) ^(n−1) of each channel in the watershed network at time n−1, an operation state of each of the one or more pump stations at time n−1, a power P_(i,n−1) ^(p) of each pump station at time n−1, topological information of the urban distribution network, load information of each bus, and an operation state and power of each of the one or more generators in the urban distribution network at time n−1; and H_(j,I) ^(n−1) and q_(j,I) ^(n−1) are taken as initial conditions of the watershed network.

(S1030) A power of each of the one or more pump stations and a hydraulic energy flow state of each channel in the watershed network at the current scheduling period are optimized based on the hydraulic energy flow optimization model, so as to obtain an optimal power P_(i,n) ^(p) of each of the one or more pump stations at the current scheduling period.

(S1040) A time-varying adjustable flexible power domain [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each of the one or more pump stations is calculated based on the flexibility assessment method; and the P_(i,n) ^(p) and the [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each of the one or more pump stations are transmitted to the urban distribution network.

(S1050) A flexible power P_(i,n) ^(fle) of each of the one or more pump stations required by the urban distribution network is calculated and optimized based on the hydraulic energy flow optimization model. The P_(i,n) ^(fle) is transmitted to each of the one or more pump stations, and an incentive fee is paid to each of the one or more pump stations in the watershed network.

(S1060) The P_(i,n) ^(fle) is received by the watershed network based on the hydraulic energy flow optimization model. The P_(i,n) ^(p) of each of the one or more pump stations is adjusted to P_(i,n) ^(p)+P_(i,n) ^(fle) to calculate a watershed network hydraulic energy flow, so as to update a water level and flow rate at each node in the watershed network at time n.

(S1070) Whether the electricity-water energy flow interactive optimization is finished is determined through steps of:

letting n=n+1, and determining whether n≤24; if yes, returning to step (S1020); otherwise, ending the electricity-water energy flow interactive optimization.

Specifically, based on the above-mentioned models and methods for flexibility assessment and optimal energy flow calculation of distribution network and watershed network, steps of the method are carried out programmatically in Python. A total adjustable power of the pump station group in the watershed network is shown in FIG. 6 . The variations of water level of each channel in the watershed network are shown in FIG. 7 . H^(max) in FIG. 7 is the maximum water level.

The serial number of embodiments are for description only, and do not represent the advantage or disadvantages of the embodiments.

The processes described above with reference to the flowchart may be implemented as a computer software program with required common hardware platform, or hardware. Based on this, the technical solution of the present disclosure may be embodied in a software. The software may be stored in a memory (ROM/RAM, disk, optical disc). There are instructions to enable a terminal (such as phone, computer, server, air-conditioner and network equipment) to implement the embodiments of the disclosure.

The disclosure has been described above with reference to the accompanying drawings and embodiments. It should be noted that provided below are merely some embodiments of the disclosure, which are not intended to limit the disclosure. Those changes and improvements content made by those skilled in the art based on the content disclosed herein without departing from the scope of the disclosure shall fall within the scope of the present disclosure defined by the appended claims. 

What is claimed is:
 1. A system for flexible coordinated operation of an urban distribution network and a watershed network, comprising: one or more generators configured to provide electrical energy to one or more drainage pump stations distributed in the watershed network; a distribution network coupled to the one or more generators, the one or more drainage pump stations and a main grid, wherein the distribution network is configured to transmit electrical energy; and a controller; wherein the controller comprises a processor and a memory coupled to the processor; and the controller is in communication with the one or more generators, the one or more drainage pump stations, and the main grid; wherein the controller is configured to perform: (a) constructing a watershed network dynamic operation model based on a de Saint-Venant nonlinear-hyperbolic-partial differential equation system; (b) constructing a river water storage model and a lake water storage model based on the watershed network dynamic operation model; (c) constructing a distribution network linear alternating-current (AC) power flow model; and based on the watershed network dynamic operation model and the distribution network linear AC power flow model, constructing an operating power-flow rate operation model of the one or more drainage pump stations to obtain a coordinated operation model of the urban distribution network and the watershed network; (d) constructing a watershed-electricity composite sensitivity matrix by using Taylor series expansion to reflect a mathematical relationship between variation of water level at individual points of the watershed network and a power increment of the one or more drainage pump stations, and a mathematical relationship between variation of flow rate at individual points of the watershed network and the power increment of the one or more drainage pump stations; (e) quantifying a time-varying adjustable power domain of a load of each of the one or more drainage pump stations through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix; (f) constructing a power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network; and converting a non-convex nonlinear hydraulic energy flow optimization problem into a mixed-integer linear programming problem through a multidimensional piecewise linearization method; and (g) based on the coordinated operation model, the time-varying adjustable power domain, the flexibility assessment method, the power flow optimization model and the hydraulic energy flow optimization model, performing electricity-water energy flow interactive optimization involving a flexible resource of the one or more drainage pump stations to realize the flexible coordinated operation of the urban distribution network and the watershed network; wherein the time-varying adjustable power domain is quantified through steps of: estimating the time-varying adjustable power range of each of the one or more pump stations; successively calculating the watershed-electricity composite sensitivity matrix and an adjustment amount; and correcting the time-varying adjustable power domain until there is no water level out of a preset limit; the time-varying adjustable power domain is estimated through steps of: obtaining a baseline power consumption of the load of each of the one or more pump stations through optimal scheduling of the watershed network under a basic scenario; and estimating the time-varying adjustable power domain of each of the one or more pump stations using equation (41): $\begin{matrix} {{F_{i}^{n} = \left\{ {{{\Delta P_{i,n}^{p}} \in ▯}❘\begin{matrix} \begin{matrix} \begin{matrix} {{{\underline{P}}_{i}^{p} \leq {{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}}} \leq {\overset{\_}{P}}_{i}^{p}},{\forall{i \in P}}} \\ {{S_{i,a,\min} \leq {{\overset{\sim}{S}}_{i,a}^{n} + \frac{1000\eta_{P_{i}}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,a,\max}},{\forall{i \in P_{a}}}} \end{matrix} \\ {{S_{i,c,\min} \leq {{\overset{\sim}{S}}_{i,c}^{n} + \frac{1000\eta_{i}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,c,\max}},{\forall{i \in P_{ch}}}} \end{matrix} \\ {{{❘{{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}} - P_{i,{n - 1}}^{p}}❘} \leq R_{i}^{p}},{\forall{i \in P}}} \end{matrix}} \right\}},} & (41) \end{matrix}$ wherein P _(i) ^(p) represents an upper limit of an active load of the pump station i; P _(i) ^(p) represents a lower limit of the active load of the pump station i; {tilde over (S)}_(i,n) represents a baseline storage volume of channel i or lake i; {tilde over (P)}_(i,n) ^(p) represents a baseline active load of the pump station i; ΔP_(i,n) ^(p) represents a power adjustment of the active load of the pump station i; F_(i) ^(n) represents the time-varying adjustable power domain of the pump station i at time n;

represents a real number set; S_(i,a,min) represents a minimum storage volume of the lake i; S_(i,a,max) represents a maximum storage volume of the lake i; {tilde over (S)}_(i,a) ^(n) represents a baseline storage volume of the lake i at time n; η_(P) _(i) ^(p) represents an operation efficiency of a pump station connected to the channel i or the lake i; ΔP_(P,n) ^(p) represents a power adjustment of an active load of the pump station connected to the channel i or the lake i; P_(a) represents a set of pump stations connected to the lake i; P_(ch) represents a set of pump stations connected to the channel i; P represents a set of pump stations; S_(i,c,min) represents a minimum storage volume of the channel i; S_(i,c,max) represents a maximum storage volume of the channel i; {tilde over (S)}_(i,c) ^(n) represents a baseline storage volume of the channel i at time n; ρ is water density; η_(i) ^(p) represents an operation efficiency of the pump station i; g is gravitational acceleration; R_(i) ^(p) represents a maximum ramp rate of the pump station i; H_(P) _(I) ^(st) represents a water head of the pump station connected to a channel I; and Dt represents a duration of a scheduling period; and the time-varying adjustable power domain is corrected through steps of: correcting the time-varying adjustable power domain according to the adjustment amount, and obtaining the time-varying adjustable power domain as: F _(i) ^(*,n) ={ΔP _(i,n) ^(p) ∈

|P _(i,n) ^(fle,min) ≤ΔP _(i,n) ^(p) +dP _(n) ^(p) ≤P _(i,n) ^(fle,max)}  (42), wherein P_(i,n) ^(fle,max) represents a corrected upper bound of the time-varying adjustable power for the pump station i at time n; P_(i,n) ^(fle,min) represents a corrected lower bound of the time-varying adjustable power for the pump station i at time n; F_(i) ^(*,n) represents a real time-varying adjustable power domain of the pump station i at time n; ΔP_(i,n) ^(p) represents an adjustment amount of the active load of the pump station i at time n; and dP_(n) ^(p) represents a certain margin of adjustable power reserved because higher-order terms in (34) are ignored; and step (f) comprises: performing an optimal coordinated rolling scheduling on the one or more pump stations distributed in the watershed network, wherein a plurality of stochastic scenarios are generated according to uncertainty of rainfall prediction at a future moment; an objective of watershed network hydraulic energy flow optimization is to minimize an operational cost of the one or more pump stations; the operational cost comprises an electricity consumption cost of the one or more pump stations and an expected electricity consumption cost of the one or more pump stations in the plurality of stochastic scenarios; and the hydraulic energy flow optimization model is expressed as: $\begin{matrix} {{\min\left\{ {{ELC_{n_{0}}} + {\sum\limits_{s = 1}^{NS}{\pi_{s}\left( {\sum\limits_{n = {n_{0} + 1}}^{n_{0} + N_{T}}{ELC_{n,s}}} \right)}}} \right\}};{and}} & (43) \end{matrix}$ $\begin{matrix} {{{{EL}C_{n}} = {C_{E,n}\Delta t{\sum\limits_{i \in P}P_{i,n}^{p}}}};} & (44) \end{matrix}$ s.t. the equations (6)-(20) and (30)-(33) (45); wherein ELC_(n) represents an electricity consumption cost of the one or more pump stations at time n; ELC_(n,s) represents an electricity consumption cost of the one or more pump stations at time n under scenario s; n₀ represents an initial time of the watershed network hydraulic energy flow optimization NS represents a total number of the plurality of stochastic scenarios; N_(T) represents a length of a predicted time horizon; π_(s) represents an occurrence probability of the scenario s; Σ_(s=1) ^(NS)π_(s)=1; and C_(E,n) represents an electricity price of the urban distribution network at time n; and constructing the power flow optimization model; and optimizing a power flow of the urban distribution network and a power of individual generators by using the flexible resource of the one or more pump stations, so as to minimize an operational cost of the urban distribution network at a current time, wherein the operational cost DC_(n) comprises a cost DC_(1n) for purchasing power from a main grid, a generator operation cost DC_(2n), an incentive cost DC_(3n) of flexible resources of the watershed network and an electricity-selling profit DC_(4n); and the power flow optimization model is expressed as: $\begin{matrix} \left\{ {\begin{matrix} {{\min DC_{n}} = {{DC_{1n}} + {DC_{2n}} + {DC_{3n}} - {DC_{4n}}}} \\ {{DC_{1n}} = {C_{{mg},n}P_{n}^{mg}}} \\ {{DC_{2n}} = {{\sum\limits_{g \in G}{a_{g}\left( P_{g,n}^{CDG} \right)}^{2}} + {b_{g}\left( P_{g,n}^{CDG} \right)} + c_{g}}} \\ {{DC_{3n}} = {C_{{IN},n}{\sum\limits_{i \in P}{\hat{P}}_{i,n}^{fle}}}} \\ {{DC_{4n}} = {C_{E,n}{\sum\limits_{j \in J}{\sum\limits_{i \in P_{j}}\left( {P_{i,n}^{p} + P_{i,n}^{fle} + P_{j,n}^{load}} \right)}}}} \end{matrix},} \right. & (46) \end{matrix}$ $\begin{matrix} {s.t.{}\left\{ {\begin{matrix} \begin{matrix} {{the}{equations}(21) - (29)} \\ {{P_{i,n}^{{fle},\min} \leq P_{i,n}^{fle} \leq P_{i,n}^{{fle},\max}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \\ {{P_{i,n}^{fle} \leq {\overset{\hat{}}{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \end{matrix} \\ {{{- P_{i,n}^{fle}} \leq {\overset{\hat{}}{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \end{matrix};} \right.} & (47) \end{matrix}$ wherein C_(mg,n) represents an electricity price of the main grid at time n; P_(n) ^(mg) represents an electricity purchasing quantity of the urban distribution network from the main grid at time n; C_(IN,n) represents an incentive price of the flexible resource at time n; a_(g), b_(g) and c_(g) are cost coefficients of a generator g; P_(i,n) ^(fle,min) represents a lower limit of an adjustable power of the pump station i at time n; P_(i,n) ^(fle,max) represents an upper limit of the adjustable power of the pump station i at time n; {circumflex over (P)}_(i,n) ^(fle) is an auxiliary variable; P_(i,n) ^(fle) represents a power adjustment amount of the pump station i set by the urban distribution network at time n; P represents a set of the one or more pump stations in the watershed network; T*={1, 2, . . . , N}, representing a time index set; G is a set of one or more generators; P_(g,n) ^(CDG) represents an active power generated by the distributed generator g at time n; J represents a bus set of the urban distribution network; P_(j) represents a set of pump stations connected to the bus j; P_(j,n) ^(load) represents an active load at the bus j except for a pump station load at time n; P_(i,n) ^(p) represents an operation state and a power of pump station i at time n; and C_(E,n) represents an electricity price of the urban distribution network.
 2. The system of claim 1, wherein step (a) comprises: characterizing water level and flow rate states along a channel by the de Saint-Venant nonlinear-hyperbolic-partial differential equation system to obtain a mass conservation equation and a momentum conservation equation, wherein the mass conservation equation is expressed as: $\begin{matrix} {{{\frac{\partial A}{\partial t} + \frac{\partial Q}{\partial x}} = r};} & (1) \end{matrix}$ the momentum conservation equation is expressed as: $\begin{matrix} {{{\frac{\partial Q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack \frac{Q^{2}}{A} \right\rbrack} + {gA\frac{\partial H}{\partial x}}} = {g{A\left( {S_{b} - S_{f}} \right)}}};} & (2) \end{matrix}$ wherein S_(f) is expressed as: $\begin{matrix} {{S_{f} = {\left( {M^{2}Q{❘Q❘}l^{\frac{4}{3}}} \right)/A^{\frac{10}{3}}}};} & (3) \end{matrix}$ wherein t is time; x represents a longitudinal distance along the channel direction; Q represents volumetric flow rate; A represents a cross-sectional area of a water flow; H represents a water level; g is gravitational acceleration; S_(b) represents a river bed slope; S_(f) represents a friction slope; M represents Manning coefficient; l represents channel wetted perimeter; and r represents rainfall intensity.
 3. The system of claim 2, wherein step (a) further comprises: simplifying the mass conservation equation into: $\begin{matrix} {{{\frac{\partial H}{\partial t} + \frac{\partial q}{\partial x}} = \frac{r}{B}};} & (4) \end{matrix}$ simplifying the momentum conservation equation into: $\begin{matrix} {{{\frac{\partial q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack {\frac{q^{2}}{H} + \frac{gH^{2}}{2}} \right\rbrack}} = {g\left\lbrack {S_{b} - \frac{M^{2}{q^{2}\left( {{2H} + B} \right)}^{4/3}}{H^{7/3}B^{4/3}}} \right\rbrack}};} & (5) \end{matrix}$ wherein H represents a water level; B represents a channel width; A represents a channel cross-sectional area; A=BH; Q=BHV; V represents a flow velocity; l=B+2H; q represents a flow rate per unit channel width; q=Q/B; and Q represents a volumetric flow rate; obtaining an approximate discrete form of the de Saint-Venant nonlinear-hyperbolic-partial differential equation system by using a Preissmann four-point implicit scheme; dividing a continuous spatio-temporal domain C={(x, t)|0≤x≤L, 0≤t≤T} into a plurality of rectangular grids according to a spatial step Δx and a time step Δt, wherein L represents a channel length; T represents a finite time horizon; individual vertices at each of the plurality of rectangular grids are indexed as (j, n); n represents a time index; j represents a spatial index; T^(w)={0, 1, 2, . . . , N}, representing a time index set; N represents a maximum time index; L^(w)={0, 1, 2, . . . , J}, representing a spatial index set; J represents a maximum spatial index; Dt=T/N; Dx=L/J; and (j, n)∈L^(w)×T^(w); performing spatio-temporal discretization on equations (4) and (5) based on the Preissmann four-point implicit scheme to obtain equations (6)-(9): $\begin{matrix} {{{f_{1}\left( {H_{j + 1}^{n + 1},\ H_{j}^{n + 1},\ q_{j + 1}^{n + 1},\ q_{j}^{n + 1}} \right)}:={{\frac{H_{j + 1}^{n + 1} - H_{j + 1}^{n} + H_{j}^{n + 1} - H_{j}^{n}}{2\Delta t} + {\theta\left( \frac{q_{j + 1}^{n + 1} - q_{j}^{n + 1}}{\Delta x} \right)}\text{⁠⁠} + {\left( {1 - \theta} \right)\left( \frac{q_{j + 1}^{n} - q_{j}^{n}}{\Delta x} \right)} - {\frac{1}{B}\left\lbrack {{\frac{\theta}{2}\left( {r_{j + 1}^{n + 1} + r_{j}^{n + 1}} \right)} + {\frac{1 - \theta}{2}\left( {r_{j + 1}^{n} + r_{j}^{n}} \right)}} \right\rbrack}} = 0}},} & (6) \end{matrix}$ $\begin{matrix} {{{f_{2}\left( {H_{j + 1}^{n + 1},\ H_{j}^{n + 1},\ q_{j + 1}^{n + 1},\ q_{j}^{n + 1}} \right)}:={{\frac{q_{j + 1}^{n + 1} - q_{j + 1}^{n} + q_{j}^{n + 1} - q_{j}^{n}}{2\Delta t} - {\theta\left( {I_{j + 1}^{n + 1} + R_{j}^{n + 1}} \right)}\text{⁠⁠} - {gS}_{b} - {\left( {1 - \theta} \right)\left( {I_{j + 1}^{n} + R_{j}^{n}} \right)}} = 0}},} & (7) \end{matrix}$ $\begin{matrix} {{I_{j}^{n} = \left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} - {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} - \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right)},} & (8) \end{matrix}$ and $\begin{matrix} {{R_{j}^{n} = \left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} + {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} + \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right)};} & (9) \end{matrix}$ wherein θ represents a weight coefficient to ensure unconditional stability, and is selected from [0,1]; if θ≥0.5, the Preissmann four-point implicit scheme is unconditionally stable; H_(j+1) ^(n+1) represents a water level at point (j+1, n+1); H_(j) ^(n+1) represents a water level at point (j, n+1); q_(j+1) ^(n+1) represents a flow rate per unit channel width at the point (j+1, n+1); q_(j) ^(n+1) represents a flow rate per unit channel width at the point (j, n+1); q_(j) ^(n) represents a flow rate per unit channel width at point (j, n); r_(j+1) ^(n+1) represents a rainfall intensity at the point (j+1, n+1); r_(j) ^(n+1) represents a rainfall intensity at the point (j, n+1); I_(j+1) ^(n+1) represents an I value defined by equation (8) at the point (j+1, n+1); R_(j) ^(n+1) represents an R value defined by equation (9) at the point (j, n+1); and B_(j) ^(n) represents a channel width at the point (j, n); performing spatio-temporal discretization on each channel in the watershed network based on the Preissmann four-point implicit scheme according to equations (6)-(9); determining an initial condition and a boundary condition to ensure closure and uniqueness of equations (6)-(9) with spatio-temporal discretization, wherein the initial condition comprises an initial water level distribution and an initial flow rate distribution observed by a hydrological station, expressed as: H _(j,I) ⁰ =H _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (10), q _(j,I) ⁰ =q _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (11); and the boundary condition comprises an upstream boundary condition and a downstream boundary condition, expressed as: ƒ_(I) ^(u)=ƒ(H _(1,I) ^(n) ,q _(1,I) ^(n)),ƒ_(I) ^(d)=ƒ(H _(J) _(I) _(,I) ,q _(J) _(I) _(,I) ^(n)),∀n∈T ^(w) ,∀I∈Ω  (12), wherein H_(j,I) ^(n) represents a water level of the channel I at the point (j, n); q_(j,I) ^(n) represents a flow rate of the channel I at the point (j, n); H_(j,I) ⁰ represents a water level of the channel I at point (j, 0); q_(j,I) ⁰ represents a flow rate of the channel I at the point (j, 0); Ω represents a channel set; H_(I) ^(ini)(x) represents a given initial water level of the channel I along direction x; q_(I) ^(ini)(x) represents a given initial flow rate of the channel I along the direction x; ƒ₁ ^(u) represents an upstream boundary condition of the channel I; ƒ_(I) ^(d) represents a downstream boundary condition of the channel I, L_(I) ^(w)={0, 1, 2, . . . , J_(I)}, representing a spatial index set of the channel I; and J_(I) represents a maximum spatial index of the channel I; limiting flow rate and water level respectively to a preset range, expressed as: Q _(I) ^(min) ≤B _(I) q _(j,I) ^(n) ≤Q _(I) ^(max) ,H _(I) ^(min) ≤H _(j,I) ^(n) ≤H _(I) ^(max) ,∀I∈Ω,∀n∈T ^(w) ,∀j∈L _(I) ^(w)  (13), wherein B_(I) represents a width of the channel I; Q_(I) ^(max) represents an upper bound of a flow rate of the channel I; H_(I) ^(max) represents an upper bound of a water level of the channel I; Q_(I) ^(min) represents a lower bound of the flow rate of the channel I; and H_(I) ^(min) represents a lower bound of the water level of the channel I; and water levels of channels are the same at a confluent node z, expressed as: H _(j,m) ^(n) =H _(j,i) ^(n) ,∀m∈Ω _(z+) ,∀i∈Ω _(z−) ,∀n∈T ^(w) ,∀z∈Z  (14); and considering that an inflow of the confluent node z is equal to an outflow of the confluent node z according to mass conservation principle, deducing equation (15): $\begin{matrix} {{{{\sum\limits_{m \in \Omega_{z +}}{q_{J_{m},m}^{n}B_{m}}} + {\sum\limits_{k \in P_{z}}{\alpha_{k,n}^{p}q_{k,n}^{p}}}} = {\sum\limits_{i \in \Omega_{z}}{q_{0,i}^{n}B_{i}}}},} & (15) \end{matrix}$ ∀n ∈ T^(w), ∀z ∈ Z; wherein Z represents a confluent node set of the watershed network; Ω_(z+) represents a set of channels that flow into the confluent node z; Ω_(z−) represents a set of channels that flow out from the confluent node z; q_(k,n) ^(p) represents a flow rate of a pump station k at time n; P_(z) represents a set of pump stations connected to the confluent node z; α_(k,n) ^(p)∈{−1,1} is a given value; α_(k,n) ^(p)=−1 denotes that the pump station k is used to pump water at time n; α_(k,n) ^(p)=1 denotes that the pump station k is used to drain water at time n; m represents a channel number index; q_(J) _(m) _(,m) ^(n) represents a flow rate per unit width of channel m at point (J_(m), n); B_(m) represents a width of the channel m; B_(i) represents a width of channel i; and q_(0,i) ^(n) represents a flow rate per unit width of the channel i at point (0, n).
 4. The system of claim 3, wherein step (b) comprises: obtaining a water storage volume S_(I,c) ^(n) of the channel I at time n, expressed as: $\begin{matrix} {{S_{I,c}^{n} = {\sum\limits_{j = 0}^{J_{j}1}{\frac{\left( {H_{j,I}^{n} + H_{{j + 1},I}^{n}} \right)}{2}B_{I}\Delta x}}},} & (16) \end{matrix}$ ∀I ∈ Ω, ∀n ∈ T^(w); wherein the water storage volume S_(I,c) ^(n) is limited to a preset range, expressed as: S _(I,c,min) ^(n) ≤S _(I,c) ^(n) ≤S _(I,c,max) ^(n) ,∀I∈Ω,∀n∈T ^(w)  (17), wherein H_(j,I) ^(n) represents a water level of the channel I at the point (j, n); B_(I) represents a width of the channel I; S_(I,c,min) ^(n) represents a minimum water storage volume of the channel I; S_(I,c,max) ^(n) represents a maximum water storage volume of the channel I; J_(I) represents a maximum spatial index of the channel I; acquiring a relationship between water discharge and water level of lake k at each period, expressed as: $\begin{matrix} {{{A_{k.a}\frac{H_{k,a}^{n + 1} - H_{k,a}^{n}}{\Delta t}} = \begin{Bmatrix} {r_{k}^{n}\left( {A_{k,a} + {\alpha_{k,a}F_{k,a}}} \right)} \\ {- {\sum\limits_{i \in k_{p}}{\alpha_{i,n}^{p}q_{i,n}^{p}}}} \end{Bmatrix}},} & (18) \end{matrix}$ ∀k ∈ K, ∀n ∈ T^(w); acquiring a current volume of the lake k, expressed as: S _(k,a) ^(n) =A _(k,a) H _(k,a) ^(n) ,∀k∈K,∀n∈T ^(w)  (19); and acquiring a constraint for secure operation of the lake k, expressed as: S _(k,a,min) ≤S _(k,a) ^(n) ≤S _(k,a,max) ,∀k∈K,∀n∈T ^(w)  (20); wherein A_(k,a) represents an area of the lake k; H_(k,a) ^(n) represents a water level of the lake k at time n; α_(k,a) represents a runoff coefficient of the lake k; F_(k,a) represents a catchment area of the lake k; S_(k,a) ^(n) represents a water storage volume of the lake k at time n; S_(k,a,min) represents a minimum water storage volume of the lake k; S_(k,a,max) represents a maximum water storage volume of the lake k; K represents a lake set; k_(p) represents a set of pump stations connected to the lake k; q_(i,n) ^(p) represents a flow rate of the pump station i at time n; r_(k) ^(n) represents a rainfall intensity at the lake k at time n; and α_(i,n) ^(p) represents an operation state of the pump station i at time n.
 5. The system of claim 4, wherein step (c) comprises: constructing the distribution network linear AC power flow model to characterize power flow constraints, generator operating constraints and bus power balance constraints; wherein an active power flow of line ij is expressed as: $\begin{matrix} {{P_{{ij},n} = {{\frac{r_{ij}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}}}},} & (21) \end{matrix}$ ∀n ∈ T^(*); a reactive power flow of the line ij is expressed as: $\begin{matrix} {{Q_{{ij},n}^{e} = {{\frac{r_{ij}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}}}},} & (22) \end{matrix}$ ∀n ∈ T^(*); wherein r_(ij) represents a resistance of the line ij; x_(ij) represents a reactance of the line ij; P_(ij,n) represents an active power flowing from bus i to bus j; Q_(ij,n) ^(e) represents a reactive power flowing from the bus i to the bus j; δ_(j,n) represents a phase angle of the bus j; V_(j,n) represents a voltage amplitude of the bus j; δ_(i,n) represents a phase angle of the bus i; and V_(i,n) represents a voltage amplitude of the bus i; and the reactive power flow and the active power flow of the line ij and the voltage amplitude of the bus j satisfy the following security constraints: $\begin{matrix} \left\{ {\begin{matrix} {{- S_{ij}} \leq P_{{ij},n} \leq S_{ij}} & \\ \  & {\forall{n \in T^{*}\ }} \\ {{- S_{ij}} \leq Q_{{ij},n}^{e} \leq S_{ij}} &  \end{matrix};} \right. & (23) \end{matrix}$ and $\begin{matrix} {{V_{j}^{\min} \leq V_{j,n} \leq V_{j}^{\max}},{{\forall{n \in T^{*}}};}} & (24) \end{matrix}$ wherein S_(ij) represents a rated apparent power capacity of the line ij; V_(j) ^(min) represents a minimum voltage allowed for the bus j; and V_(j) ^(max) represents a maximum voltage allowed for the bus j; acquiring an output power limit of the distributed generator g, expressed as: P _(g,min) ^(CDG) ≤P _(g,n) ^(CDG) ≤P _(g,max) ^(CDG) ,∀g∈G,∀n∈T*  (25); acquiring a ramp limit of the distributed generator g, expressed as: R _(g,down) ^(CDG) ≤P _(g,n) ^(CDG) −P _(g,n−1) ^(CDG) ≤R _(g,up) ^(CDG) ,∀g∈G,∀n∈T*  (26); acquiring a capacity limit of the distributed generator g, expressed as: $\begin{matrix} \left\{ {\begin{matrix} {- S_{g}^{CDG}} & {\leq P_{g,n}^{CDG}} & {\leq S_{g}^{CDG}} & \\  & & & {,{\forall{g \in G}},{\forall{n \in T^{*}}}} \\ {- S_{g}^{CDG}} & {\leq Q_{g,n}^{CDG}} & {\leq S_{g}^{CDG}} &  \end{matrix};} \right. & (27) \end{matrix}$ acquiring power balance constraints for buses, expressed as: ∑ i ⁢ j ∈ Λ j + ⁢ m P i ⁢ j , n + ∑ g ∈ G j P g , n C ⁢ D ⁢ G - ∑ p ∈ P j P p , n fle - ∑ p ∈ P j P p , n p - P j , n load = ∑ j ⁢ k ∈ Λ j - P j ⁢ k , n , ∀ j ∈ J * , ∀ n ∈ T * ; ( 28 ) and ∑ i ⁢ j ∈ Λ j + ⁢ m Q ij , n e + ∑ g ∈ G j Q g , n C ⁢ D ⁢ G - ∑ p ∈ P j Q p , n p - Q j , n load = ∑ j ⁢ k ∈ Λ j - Q jk , n , ∀ j ∈ J , ∀ n ∈ T * ; ( 29 ) wherein P_(g,n) ^(CDG) represents an active power generated by the distributed generator g at time n; Q_(g,n) ^(CDG) represents a reactive power generated by the distributed generator g at time n; P_(g,max) ^(CDG) represents a maximum allowable output power of the distributed generator g; P_(g,min) ^(CDG) represents a minimum allowable output power of the distributed generator g; R_(g,up) ^(CDG) represents a maximum allowable ramp rate of the distributed generator g; R_(g,down) ^(CDG) represents a minimum allowable ramp rate of the distributed generator g; G represents a distributed generator set; G_(j) represents a set of distributed generators connected to the bus j; P_(j) represents a set of pump stations connected to the bus j; J represents a bus set of the urban distribution network; Λ_(j+) represents a set of lines whose power flows into the bus j; Λ_(j−) represents a set of lines whose power flows out from the bus j; P_(j,n) ^(load) represents an active load at the bus j except for a pump station load at time n; Q_(j,n) ^(load) represents a reactive load at the bus j except for the pump station load at time n; P_(p,n) ^(fle) represents a flexibility amount offered by pump station p at time n; S_(g) ^(CDG) is a rated apparent capacity for the distributed generator g; P_(jk,n) represents an active power flow on line jk at time n; Q_(ij,n) ^(e) represents a reactive power flow on the line ij at time n; P_(p,n) ^(p) represents an active load of the pump station p at time n; Q_(p,n) ^(p) represents a reactive load of the pump station p at time n; and P_(ij,n) represents an active power flow on the line ij at time n.
 6. The system of claim 5, wherein step (c) further comprises: acquiring an operating power-flow rate relationship for pump stations, expressed as: $\begin{matrix} {{P_{i,n}^{p} = \frac{\rho gH_{i}^{st}q_{i,n}^{p}}{1000\eta_{i}^{p}}},{\forall{i \in P}},{{\forall{n \in T^{*}}};}} & (30) \end{matrix}$ acquiring pump station power limits, expressed as: $\begin{matrix} {{{- R_{i}^{p}} \leq {P_{i,n}^{p} - P_{i,{n - 1}}^{p}} \leq R_{i}^{p}},{\forall{i \in P}},{{\forall{n \in T^{*}}};}} & (31) \end{matrix}$ and $\begin{matrix} {{P_{i,\min}^{p} \leq P_{i,n}^{p} \leq P_{i,\max}^{p}},{\forall{i \in P}},{{\forall{n \in T^{*}}};}} & (32) \end{matrix}$ and acquiring a pump station reactive load constraint, expressed as: Q _(i,n) ^(p) =P _(i,n) ^(p) tan(arccos(ϕ_(i) ^(p))),∀i∈P,∀n∈T*  (33); wherein P_(i,n) ^(p) represents an active load of the pump station i; Q_(i,n) ^(p) represents a reactive load of the pump station i; H_(i) ^(st) represents a water head of the pump station i; P_(i,min) ^(p) represents a lower bound of the reactive load of the pump station i; P_(i,max) ^(p) represents an upper bound of the active load of the pump station i; and ϕ_(i) ^(p) is a power factor of the pump station i.
 7. The system of claim 6, wherein step (d) comprises: based on Taylor series expansion, expanding equations (6) and (7) into: $\begin{matrix} {{{f_{\{{1,2}\}}\begin{Bmatrix} {{H_{j + 1}^{n} + {\Delta H_{j + 1}}},} \\ {{H_{j}^{n} + {\Delta H_{j}}},} \\ {{q_{j + 1}^{n} + {\Delta q_{j + 1}}},} \\ {q_{j}^{n} + {\Delta q_{j}}} \end{Bmatrix}} = \begin{Bmatrix} {{f_{\{{1,2}\}}\left( {H_{j + 1}^{n},H_{j}^{n},{q_{j + 1}^{n}q_{j}^{n}}} \right)} + {\frac{\partial f_{\{{1,2}\}}}{\partial H_{j + 1}^{n}}\Delta H_{j + 1}} +} \\ {{\frac{\partial f_{\{{1,2}\}}}{\partial H_{j}^{n}}\Delta H_{j}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j + 1}^{n}}\Delta q_{j + 1}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\Delta q_{j}}} \end{Bmatrix}};} & (34) \end{matrix}$ wherein ƒ_({1,2}) represents a collective name for defined functions ƒ₁ and ƒ₂; subscripts 1 and 2 of the f_({1,2}) represent selection of function ƒ₁ or function ƒ₂; ΔH_(j) represents a variation of a water level at point (j, n) after adjusting a pump station power; H_(j) ^(n) represents a water level at the point (j, n); Δq_(j) represents a variation of a flow rate at the point (j, n) after adjusting the pump station power; and q_(j) ^(n) represents a flow rate at the point (j, n); acquiring a sensitivity matrix of individual channels under different disturbances at time n, expresses as: $\begin{matrix} {\underset{M}{\underset{︸}{\begin{bmatrix} a_{0} & b_{0} & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{1} & b_{1} & c_{1} & d_{1} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{2} & b_{2} & c_{2} & d_{2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{3} & b_{3} & c_{3} & d_{3} & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{4} & b_{4} & c_{4} & d_{4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 3} & b_{{2J} - 3} & b_{{2J} - 3} & d_{{2J} - 3} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 2} & b_{{2J} - 2} & c_{{2J} - 2} & d_{{2J} - 2} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & c_{2J} & d_{2J} \end{bmatrix}}}{{{\underset{\Delta X}{\underset{︸}{\begin{bmatrix} {\Delta H_{0}} \\ {\Delta q_{0}} \\ {\Delta H_{1}} \\ {\Delta q_{1}} \\  \vdots \\ {\Delta H_{J - 1}} \\ {\Delta q_{J - 1}} \\ {\Delta H_{J}} \\ \Delta_{q_{J}} \end{bmatrix}}} = \underset{F}{\underset{︸}{\begin{bmatrix} F_{1} \\ F_{2} \\ F_{3} \\ F_{4} \\  \vdots \\ F_{{2J} - 3} \\ F_{{2J} - 2} \\ F_{{2J} - 1} \\ F_{2J} \end{bmatrix}}}};}}} & (35) \end{matrix}$ wherein M represents a sensitivity coefficient matrix; ΔX represents a variation matrix of water level and flow rate at points; F represents a constant matrix at a current time; elements in the M and elements in the F are constants; the elements in the M are partial derivatives of water level and flow rate at time n; the elements in the F are products of space-time difference results of the ƒ₁ or ƒ₂ and −Dt; a₀, b₀ and F₁ are determined by the upstream boundary condition; and C_(2J), d_(2J) and F_(2J) are determined by the downstream boundary condition; and the elements in the M are obtained through the following equation: $\begin{matrix} \left\{ {\begin{matrix} {{a_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j - 1}^{n}}},{b_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j - 1}^{n}}},{c_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j}^{n}}},{d_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j}^{n}}}} \\ {{a_{2j} = \frac{\partial f_{2}}{\partial H_{j - 1}^{n}}},{b_{2j} = \frac{\partial f_{2}}{\partial q_{j - 1}^{n}}},{c_{2j} = \frac{\partial f_{2}}{\partial H_{j}^{n}}},{d_{2j} = \frac{\partial f_{2}}{\partial q_{j}^{n}}}} \\ {{a_{0} = \frac{\partial f^{u}}{\partial H_{0}^{n}}},{b_{0} = \frac{\partial f^{u}}{\partial q_{0}^{n}}},{c_{2J} = \frac{\partial f^{d}}{\partial H_{J}^{n}}},{d_{2J} = \frac{\partial f^{d}}{\partial q_{J}^{n}}}} \end{matrix};} \right. & (36) \end{matrix}$ obtaining a relationship between a power increment of a pump station and a flow rate increment at point (j, n) where the pump station is located through equations (37) and (38): $\begin{matrix} {{\frac{\partial f_{\{{1,2}\}}}{\partial P_{P_{I},n}^{p}} = {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}}},{and}} & (37) \end{matrix}$ $\begin{matrix} {{{\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}} = \frac{1000\eta_{P_{I}}^{p}}{B_{I}\rho{gH}_{P_{I}}^{st}}},} & (38) \end{matrix}$ wherein P_(I) represents index of a pump station connected to the channel I; ∂ƒ_({1,2})/∂P_(P) _(I) _(,n) ^(p) represents a partial derivative of ƒ₁ or ƒ₂ with respect to P_(P) _(I) _(,n) ^(p); P_(P) _(I) _(,n) ^(p) represents an active load of the pump station P_(I) at time n; q_(P) _(I) _(,n) ^(p) represents a flow rate of the pump station P_(I) at time n; H_(P) _(I) ^(st) represents a water head of the pump station P_(I); η_(P) _(I) ^(p) represents an operation efficiency of the pump station; plugging the equations (37) and (38) into the sensitivity matrix to expand the M into M′, such that the watershed-electricity composite sensitivity matrix of individual channels is expressed as: $\begin{matrix} {{{\underset{M^{\prime}}{\underset{︸}{\begin{bmatrix} Z_{1,1} & Z_{1,2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ Z_{2,1} & Z_{2,2} & Z_{2,3} & Z_{2,4} & \ldots & 0 & 0 & 0 & 0 \\ Z_{3,1} & Z_{3,2} & Z_{3,3} & Z_{3,4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & \ldots & Z_{4,1} & Z_{4,2} & Z_{4,3} & Z_{4,4} \\ 0 & 0 & 0 & 0 & \ldots & Z_{5,1} & Z_{5,2} & Z_{5,3} & Z_{5,4} \\ 0 & 0 & 0 & 0 & \ldots & 0 & 0 & Z_{6,1} & Z_{6,2} \end{bmatrix}}}\underset{\Delta X^{\prime}}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {\Delta H_{0}} \\ {\Delta P_{I}^{p,u}} \end{matrix} \\ {\Delta H_{1}} \end{matrix} \\ {\Delta q_{1}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta H_{J - 1}} \end{matrix} \\ {\Delta q_{J - 1}} \end{matrix} \\ {\Delta H_{j}} \end{matrix} \\ {\Delta P_{I}^{p,d}} \end{bmatrix}}}} = \underset{F}{\underset{︸}{\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\ F_{3} \end{matrix} \\ F_{4} \end{matrix} \\  \vdots  \end{matrix} \\ F_{{2J} - 3} \end{matrix} \\ F_{{2J} - 2} \end{matrix} \\ F_{{2J} - 1} \end{matrix} \\ F_{2J} \end{bmatrix}}}},} & (39) \end{matrix}$ wherein M′ represents a sensitivity coefficient expansion matrix; ΔX′ represents a variation expansion matrix of water level and flow rate; F represents a constant matrix at a current time; the elements in the F are products of the space-time difference results of the ƒ₁ or ƒ₂ and −Dt; ΔP_(I) ^(p,u) represents a power increment of a pump station located upstream of the channel I; ΔP_(I) ^(p,d) represents a power increment of a pump station located downstream of the channel I; ${Z_{1,1} = \frac{\partial f^{u}}{\partial H_{0}}};{Z_{1,2} = {\frac{\partial f^{u}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};$ ${Z_{2,1} = \frac{\partial f_{1}}{\partial H_{0}}};{Z_{2,2} = {\frac{\partial f_{1}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};$ ${Z_{2,3} = \frac{\partial f_{1}}{\partial H_{1}}};{Z_{2,4} = \frac{\partial f_{1}}{\partial q_{1}}};{Z_{3,1} = \frac{\partial f_{1}}{\partial q_{1}}};$ ${Z_{3,2} = {\frac{\partial f_{2}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{3,3} = \frac{\partial f_{2}}{\partial H_{1}}};{Z_{3,4} = \frac{\partial f_{2}}{\partial q_{1}}};{Z_{4,1} = \frac{\partial f_{1}}{\partial H_{J - 2}}};$ ${Z_{4,2} = \frac{\partial f_{1}}{\partial q_{J - 2}}};{Z_{4,3} = \frac{\partial f_{1}}{\partial H_{J - 1}}};{Z_{4,4} = {\frac{\partial f_{1}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ ${Z_{5,1} = \frac{\partial f_{2}}{\partial H_{J - 2}}};{Z_{5,2} = \frac{\partial f_{2}}{\partial q_{J - 2}}};{Z_{5,3} = \frac{\partial f_{2}}{\partial H_{J - 1}}};$ ${Z_{5,4} = {\frac{\partial f_{2}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};{Z_{6,1} = \frac{\partial f^{d}}{\partial H_{J}}};$ ${Z_{6,2} = {\frac{\partial f^{d}}{\partial q_{J}}\frac{\partial q_{J}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ q_(I) ^(p,u) represents a flow rate of the pump station located upstream of the channel I; q_(I) ^(p,d) represents a flow rate of the pump station located downstream of the channel I; P_(I) ^(p,u) represents an active load of the pump station located upstream of the channel I, and P_(I) ^(p,d) represents an active load of the pump station located downstream of the channel I; and combining sensitivity matrices of all channels in the watershed network to obtain the watershed-electricity composite sensitivity matrix of the watershed network, expressed as: $\begin{matrix} {{{\begin{bmatrix} M_{1}^{\prime} & 0 & 0 & \ldots & 0 & 0 \\ 0 & M_{2}^{\prime} & 0 & \ldots & 0 & 0 \\ 0 & 0 & \ddots & \ldots & 0 & 0 \\ 0 & \ldots & 0 & M_{I}^{\prime} & \ldots & 0 \\ 0 & \ldots & \ldots & \ldots & \ddots & 0 \\ 0 & 0 & \ldots & 0 & 0 & M_{I_{\star}}^{\prime} \end{bmatrix}\begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {\Delta X_{1}^{\prime}} \\ {\Delta X_{2}^{\prime}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta X_{I}^{\prime}} \end{matrix} \\  \vdots  \end{matrix} \\ {\Delta X_{I_{\star}}^{\prime}} \end{bmatrix}} = \begin{bmatrix} \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} F_{1} \\ F_{2} \end{matrix} \\  \vdots  \end{matrix} \\ F_{I} \end{matrix} \\ \ldots \end{matrix} \\ F_{I_{\star}} \end{bmatrix}};} & (40) \end{matrix}$ wherein M′_(I) represents a sensitivity coefficient expansion matrix of the channel I; ΔX′_(I) represents ΔX′ of the channel I, which represents a variation expansion matrix of water level and flow rate of the channel I; F_(I) represents F of the channel I; and I* represents the number of channels in the watershed network.
 8. The system of claim 7, wherein step (g) comprises: (g1) initializing the coordinated operation model, wherein a current scheduling period is set to n=1; a scheduling duration is 24 h; Dx of individual channels in the watershed network is set to 100 m; and Dt is set to 1 h; (g2) inputting parameters to the coordinated operation model, wherein the parameters comprise topological information of the watershed network, a width B_(I) of each channel, a length L_(I) of each channel, water level H_(j,I) ^(n−1) and flow rate q_(j,I) ^(n−1) of each channel in the watershed network at time n−1, an operation state of each of the one or more pump stations at time n−1, a power P_(i,n−1) ^(p) of each pump station at time n−1, topological information of the urban distribution network, load information of each bus, and an operation state and power of each of the one or more distributed generators in the urban distribution network at time n−1; and H_(j,I) ^(n−1) and q_(j,I) ^(n−1) are taken as initial conditions of the watershed network; (g3) optimizing a load of each of the one or more pump stations and a hydraulic energy flow of each channel in the watershed network at the current scheduling period based on the hydraulic energy flow optimization model, so as to obtain an optimal operating power P_(i,n) ^(p) of each of the one or more pump stations at the current scheduling period; (g4) calculating a time-varying adjustable flexible power domain [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each of the one or more pump stations based on the flexibility assessment method; and transmitting the P_(i,n) ^(p) and the [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each of the one or more pump stations to the urban distribution network; (g5) calculating and optimizing a flexible power P_(i,n) ^(fle) of each of the one or more pump stations required by the urban distribution network based on the power flow optimization model; transmitting the P_(i,n) ^(fle) to each of the one or more pump stations; and paying an incentive fee to each of the one or more pump stations in the watershed network; (g6) receiving the P_(i,n) ^(fle) by the watershed network; adjusting the P_(i,n) ^(p) of each of the one or more pump stations to P_(i,n) ^(p)+P_(i,n) ^(fle) to calculate a watershed network hydraulic energy flow, so as to update a water level and flow rate at each point in the watershed network at time n; and (g7) determining whether the electricity-water energy flow interactive optimization is finished through steps of: letting n=n+1, and determining whether n≤24; if yes, returning to step (g2); otherwise, ending the electricity-water energy flow interactive optimization.
 9. A method for flexible coordinated operation of an urban distribution network and a watershed network, the method implemented using a controller, the controller comprising a processor and a memory coupled to the processor, and the method comprising: (a) constructing, by the controller, a watershed network dynamic operation model based on a de Saint-Venant nonlinear-hyperbolic-partial differential equation system; (b) constructing, by the controller, a river water storage model and a lake water storage model based on the watershed network dynamic operation model; (c) constructing, by the controller, a distribution network linear AC power flow model; and based on the watershed network dynamic operation model and the distribution network linear AC power flow model, constructing, by the controller, an operating power-flow rate operation model of one or more drainage pump stations to obtain a coordinated operation model of the urban distribution network and the watershed network; (d) constructing, by the controller, a watershed-electricity composite sensitivity matrix by using Taylor series expansion to reflect a mathematical relationship between variation of water level at individual points of the watershed network and a power increment of the one or more pump stations, and a mathematical relationship between variation of flow rate at individual points of the watershed network and the power increment of the one or more pump stations; (e) quantifying, by the controller, a time-varying adjustable power domain of a load of each of the one or more pump stations through a pump station flexibility assessment method based on the watershed-electricity composite sensitivity matrix, wherein the time-varying adjustable power domain is quantified through steps of: estimating the time-varying adjustable power domain of each of the one or more pump stations; successively calculating the watershed-electricity composite sensitivity matrix and an adjustment amount; and correcting the time-varying adjustable power domain until there is no water level out of a preset limit; (f) constructing, by the controller, a power flow optimization model of the urban distribution network and a hydraulic energy flow optimization model of the watershed network; and converting a non-convex nonlinear hydraulic energy flow optimization problem into a mixed-integer linear programming problem through a multidimensional piecewise linearization method; and (g) based on the coordinated operation model, the time-varying adjustable power domain, the flexibility assessment method, the power flow optimization model and the hydraulic energy flow optimization model, performing, by the controller, electricity-water energy flow interactive optimization involving a flexible resource of the one or more pump stations to realize the flexible coordinated operation of the urban distribution network and the watershed network; the time-varying adjustable power domain is estimated through steps of: obtaining a baseline power consumption of the load of each of the one or more pump stations through optimal scheduling of the watershed network under a basic scenario; and estimating the time-varying adjustable power domain of each of the one or more pump stations using equation (41): $\begin{matrix} {{F_{i}^{n} = \left\{ {{{\Delta P_{i,n}^{p}} \in ▯}❘\begin{matrix} \begin{matrix} \begin{matrix} {{{\underline{P}}_{i}^{p} \leq {{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}}} \leq {\overset{\_}{P}}_{i}^{p}},{\forall{i \in P}}} \\ {{S_{i,a,\min} \leq {{\overset{\sim}{S}}_{i,a}^{n} + \frac{1000\eta_{P_{i}}^{p}\Delta P_{P,n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,a,\max}},{\forall{i \in P_{a}}}} \end{matrix} \\ {{S_{i,c,\min} \leq {{\overset{\sim}{S}}_{i,c}^{n} + \frac{1000\eta_{i}^{p}\Delta P_{P_{i},n}^{p}\Delta t}{\rho{gH}_{P_{i}}^{st}}} \leq S_{i,c,\max}},{\forall{i \in P_{ch}}}} \end{matrix} \\ {{{❘{{\overset{\sim}{P}}_{i,n}^{p} + {\Delta P_{i,n}^{p}} - P_{i,{n - 1}}^{p}}❘} \leq R_{i}^{p}},{\forall{i \in P}}} \end{matrix}} \right\}},} & (41) \end{matrix}$ wherein P _(i) ^(p) represents an upper limit of the active load of the pump station i; P _(i) ^(p) represents a lower limit of the active load of the pump station i; {tilde over (S)}_(i,n) represents a baseline storage volume of channel i or lake i; {tilde over (P)}_(i,n) ^(p) represents a baseline active load of the pump station i; ΔP_(i,n) ^(p) represents a power adjustment of an active load of the pump station i; F_(i) ^(n) represents the time-varying adjustable power domain of the pump station i at time n;

represents a real number set; S_(i,a,min) represents a minimum storage volume of the lake i; S_(i,a,max) represents a maximum storage volume of the lake i; {tilde over (S)}_(i,a) ^(n) represents a baseline storage volume of the lake i at time n; η_(P) _(I) ^(p) represents an operation efficiency of the pump station connected to the channel i or the lake i; Δ_(P) _(i) _(,n) ^(p) represents a power adjustment of an active load of the pump station connected to the channel i or the lake i; P_(a) represents a set of pump stations connected to the lake i; P_(ch) represents a set of pump stations connected to the channel i; P represents a set of pump stations connected to the channel i or the lake i; S_(i,c,min) represents a minimum storage volume of the channel i; S_(i,c,max) represents a maximum storage volume of the channel i; and {tilde over (S)}_(i,c) ^(n) represents a baseline storage volume of the channel i at time n; ρ is water density; η_(i) ^(p) represents an operation efficiency of the pump station i; g is gravitational acceleration; R_(i) ^(p) represents a maximum ramp rate of the pump station i; H_(P) _(I) ^(st) represents a water head of the pump station connected to a channel I, and D t represents a duration of a scheduling period; and the time-varying adjustable power domain is corrected through steps of: correcting the time-varying adjustable power domain according to the adjustment amount, and obtaining the time-varying adjustable power domain as: F _(i) ^(*,n) ={ΔP _(i,n) ^(p) ∈

|P _(i,n) ^(fle,min) ≤ΔP _(i,n) ^(p) +dP _(n) ^(p) ≤P _(i,n) ^(fle,max)}  (42), wherein P_(i,n) ^(fle,max) represents a corrected upper bound of the time-varying adjustable power for the pump station i at time n; P_(i,n) ^(fle,min) represents a corrected lower bound of the time-varying adjustable power for the pump station i at time n; F_(i) ^(*,n) represents a real time-varying adjustable power domain of the pump station i at time n; ΔP_(i,n) ^(p) represents an adjustment amount of the active load of the pump station i at time n; and dP_(n) ^(p) represents a certain margin of adjustable power reserved because higher-order terms in (34) are ignored, which is generally determined by the experiences based on operation states; and step (f) comprises: performing an optimal coordinated rolling scheduling on the one or more pump stations distributed in the watershed network, wherein a plurality of stochastic scenarios are generated according to uncertainty of rainfall prediction at a future moment; an objective of watershed network hydraulic energy flow optimization is to minimize an operational cost of the one or more pump stations; the operational cost comprises an electricity consumption cost of the one or more pump stations and an expected electricity consumption cost of the one or more pump stations in the plurality of stochastic scenarios; and the hydraulic energy flow optimization model is expressed as: $\begin{matrix} {{\min\left\{ {{ELC_{n_{0}}} + {\sum\limits_{s = 1}^{NS}{\pi_{s}\left( {\sum\limits_{n = {n_{0} + 1}}^{n_{0} + N_{T}}{ELC_{n,s}}} \right)}}} \right\}};{and}} & (43) \end{matrix}$ $\begin{matrix} {{{ELC}_{n} = {C_{E,n}\Delta t{\sum\limits_{i \in P}P_{i,n}^{p}}}};} & (44) \end{matrix}$ s.t. the equations (6)-(20) and (30)-(33) (45); wherein ELC_(n) represents an electricity consumption cost of the pump station group at time n; ELC_(n,s) represents an electricity consumption cost of the pump station group at time n under scenario s; n₀ represents an initial time of the watershed network hydraulic energy flow optimization; NS represents a total number of the plurality of stochastic scenarios; N_(T) represents a length of a predicted time horizon; π_(s) represents an occurrence probability of the scenario s; Σ_(s=1) ^(NS)π_(s)=1; and C_(E,n) represents an electricity price of the urban distribution network at time n; and constructing the power flow optimization model; and optimizing a power flow of the urban distribution network and a power of individual distributed generators by using the flexible resource of the one or more pump stations, so as to minimize an operational cost of the urban distribution network at a current time, wherein the operational cost DC_(n) comprises a cost DC_(1n) for purchasing power from a main grid, a generator operation cost DC_(2n), an incentive cost DC_(3n) of flexible resources of the watershed network and an electricity-selling profit DC_(4n); and the power flow optimization model is expressed as: { min ⁢ D ⁢ C n = D ⁢ C 1 ⁢ n + D ⁢ C 2 ⁢ n + D ⁢ C 3 ⁢ n - D ⁢ C 4 ⁢ n D ⁢ C 1 ⁢ n = C m ⁢ g , n ⁢ P n m ⁢ g D ⁢C 2 ⁢ n = ∑ g ∈ G a g ( P g , n C ⁢ D ⁢ G ) 2 + b g ( P g , n CDG ) + c g D ⁢C 3 ⁢ n = C IN , n ⁢ ∑ i ∈ P P ˆ i ⁢ n fle D ⁢ C 4 ⁢ n = C E , n ⁢ ∑ j ∈ J ∑ i ∈ P j ( P i , n p + P i , n fle + P j , n load ) , ( 46 ) $\begin{matrix} {s.t.\left\{ {\begin{matrix} {{the}{equations}(21) - (29)} \\ {{P_{i,n}^{{fle},\min} \leq P_{i,n}^{fle} \leq P_{i,n}^{{fle},\max}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \\ {{P_{i,n}^{fle} \leq {\overset{\hat{}}{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \\ {{{- P_{i,n}^{fle}} \leq {\overset{\hat{}}{P}}_{i,n}^{fle}},{\forall{i \in P}},{\forall{n \in T^{*}}}} \end{matrix};} \right.} & (47) \end{matrix}$ wherein C_(mg,n) represents an electricity price of the main grid at time n; P_(n) ^(mg) represents an electricity purchasing quantity of the urban distribution network from the main grid at time n; C_(IN,n) represents an incentive price of the flexible resource at time n; a_(g), b_(g) and c_(g) are cost coefficients of a distributed generator g; P_(i,n) ^(fle,min) represents a lower limit of an adjustable power of the pump station i at time n; P_(i,n) ^(fle,max) represents an upper limit of the adjustable power of the pump station i at time n; {circumflex over (P)}_(i,n) ^(fle) is an auxiliary variable; P_(i,n) ^(fle) represents a power adjustment amount of the pump station i set by the urban distribution network at time n; P represents a set of the one or more pump stations in the watershed network; T*={1, 2, . . . , N}, representing a time index set; G is a set of one or more distributed generators; P_(g,n) ^(CDG) represents an active power generated by the distributed generator g at time n; J represents a bus set of the urban distribution network; P_(j) represents a set of pump stations connected to the bus j; P_(j,n) ^(load) represents an active load at the bus j except for a pump station load at time n; P_(i,n) ^(p) represents an operation state and a power of pump station i at time n; and C_(E,n) represents an electricity price of the urban distribution network.
 10. The method of claim 9, wherein step (a) comprises: characterizing water level and flow rate states along a channel by the de Saint-Venant nonlinear-hyperbolic-partial differential equation system to obtain a mass conservation equation and a momentum conservation equation, wherein the mass conservation equation is expressed as: $\begin{matrix} {{{\frac{\partial A}{\partial t} + \frac{\partial Q}{\partial x}} = r};} & (1) \end{matrix}$ the momentum conservation equation is expressed as: $\begin{matrix} {{{\frac{\partial Q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack \frac{Q^{2}}{A} \right\rbrack} + {gA\frac{\partial H}{\partial x}}} = {g{A\left( {S_{b} - S_{f}} \right)}}};} & (2) \end{matrix}$ wherein S_(f) is expressed as: $\begin{matrix} {{S_{f} = {\left( {M^{2}Q{❘Q❘}l^{\frac{4}{3}}} \right)/A^{\frac{10}{3}}}};} & (3) \end{matrix}$ wherein t is time; x represents a longitudinal distance along the channel direction; Q represents volumetric flow rate; A represents a cross-sectional area of a water flow; H represents a water level; g is gravitational acceleration; S_(b) represents a river bed slope; S_(f) represents a friction slope; M represents Manning coefficient; l represents channel wetted perimeter; and r represents rainfall intensity.
 11. The method of claim 10, wherein step (a) further comprises: simplifying the mass conservation equation into: $\begin{matrix} {{{\frac{\partial H}{\partial t} + \frac{\partial q}{\partial x}} = \frac{r}{B}};} & (4) \end{matrix}$ simplifying the momentum conservation equation into: $\begin{matrix} {{{\frac{\partial q}{\partial t} + {\frac{\partial}{\partial x}\left\lbrack {\frac{q^{2}}{H} + \frac{gH^{2}}{2}} \right\rbrack}} = {g\left\lbrack {S_{b} - \frac{M^{2}{q^{2}\left( {{2H} + B} \right)}^{4/3}}{H^{7/3}B^{4/3}}} \right\rbrack}};} & (5) \end{matrix}$ wherein H represents a water level; B represents a channel width; A represents a channel cross-sectional area; A=BH; Q=BHV; V represents a flow velocity; l=B+2H; q represents a flow rate per unit channel width; q=Q/B; and Q represents a volumetric flow rate; obtaining an approximate discrete form of the de Saint-Venant nonlinear-hyperbolic-partial differential equation system by using a Preissmann four-point implicit scheme; dividing a continuous spatio-temporal domain C={(x, t)|0≤x≤L, 0≤t≤T} into a plurality of rectangular grids according to a spatial step Δx and a time step Δt, wherein L represents a channel length; T represents a finite time horizon; individual vertices at each of the plurality of rectangular grids are indexed as (j, n); n represents a time index; j represents a spatial index; T^(w)={0, 1, 2, . . . , N}, representing a time index set; N represents a maximum time index; L^(w)={0, 1, 2, . . . , J}, representing a spatial index set; J represents a maximum spatial index; Dt=T/N; Dx=L/J; and (j, n)∈L^(w)×T^(w); performing spatio-temporal discretization on equations (4) and (5) based on the Preissmann four-point implicit scheme to obtain equations (6)-(9): $\begin{matrix} {{{f_{1}\left( {H_{j + 1}^{n + 1},H_{j}^{n + 1},q_{j + 1}^{n + 1},q_{j}^{n + 1}} \right)}:={{\frac{H_{j + 1}^{n + 1} - H_{j + 1}^{n} + H_{j}^{n + 1} - H_{j}^{n}}{2\Delta t} + {\theta\left( \frac{q_{j + 1}^{n + 1} - q_{j}^{n + 1}}{\Delta x} \right)} + {\left( {1 - \theta} \right)\left( \frac{q_{j + 1}^{n} - q_{j}^{n}}{\Delta x} \right)} - {\frac{1}{B}\left\lbrack {{\frac{\theta}{2}\left( {r_{j + 1}^{n + 1} + r_{j}^{n + 1}} \right)} + {\frac{1 - \theta}{2}\left( {r_{j + 1}^{n} + r_{j}^{n}} \right)}} \right\rbrack}} = 0}},} & (6) \end{matrix}$ $\begin{matrix} {{{f_{2}\left( {H_{j + 1}^{n + 1},H_{j}^{n + 1},q_{j + 1}^{n + 1},q_{j}^{n + 1}} \right)}:={{\frac{q_{j + 1}^{n + 1} - q_{j + 1}^{n} + q_{j}^{n + 1} - q_{j}^{n}}{2\Delta t} - {\theta\left( {I_{j + 1}^{n + 1} + R_{j}^{n + 1}} \right)} - {gS_{b}} - {\left( {1 - \theta} \right)\left( {I_{j + 1}^{n} + R_{j}^{n}} \right)}} = 0}},} & (7) \end{matrix}$ $\begin{matrix} {{I_{j}^{n} = \left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} - {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} - \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right)},{and}} & (8) \end{matrix}$ $\begin{matrix} {{R_{j}^{n} = \left( {{{- \frac{gM^{2}}{2}}\frac{\left( q_{j}^{n} \right)^{2}\left( {{2H_{j}^{n}} + B_{j}^{n}} \right)^{4/3}}{\left( H_{j}^{n} \right)^{7/3}\left( B_{j}^{n} \right)^{4/3}}} + {\frac{1}{\Delta x}\frac{\left( q_{j}^{n} \right)^{2}}{H_{j}^{n}}} + \frac{{g\left( H_{j}^{n} \right)}^{2}}{2\Delta x}} \right)};} & (9) \end{matrix}$ wherein θ represents a weight coefficient to ensure unconditional stability, and is selected from [0,1]; if θ≥0.5, the Preissmann four-point implicit scheme is unconditionally stable; H_(j+1) ^(n+1) represents a water level at point (j+1, n+1); H_(j) ^(n+1) represents a water level at point (j, n+1); q_(j+1) ^(n+1) represents a flow rate per unit channel width at the point (j+1, n+1); q_(j) ^(n+1) represents a flow rate per unit channel width at the point (j, n+1); q_(j) ^(n) represents a flow rate per unit channel width at point (j, n); r_(j+1) ^(n+1) represents a rainfall intensity at the point (j+1, n+1); r_(j) ^(n+1) represents a rainfall intensity at the point (j, n+1); I_(j+1) ^(n+1) represents an I value defined by equation (8) at the point (j+1, n+1); R_(j) ^(n+1) represents an R value defined by equation (9) at the point (j, n+1); and B_(j) ^(n) represents a channel width at the point (j, n); performing spatio-temporal discretization on each channel in the watershed network based on the Preissmann four-point implicit scheme according to equations (6)-(9); determining an initial condition and a boundary condition to ensure closure and uniqueness of equations (6)-(9) with spatio-temporal discretization, wherein the initial condition comprises an initial water level distribution and an initial flow rate distribution observed by a hydrological station, expressed as: H _(j,I) ⁰ =H _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (10), q _(j,I) ⁰ =q _(I) ^(ini)(x=jΔx),∀j∈L _(I) ^(w) ,∀I∈Ω  (11); and the boundary condition comprises an upstream boundary condition and a downstream boundary condition, expressed as: ƒ_(I) ^(u)=ƒ(H _(1,I) ^(n) ,q _(1,I) ^(n)),ƒ_(I) ^(d)=ƒ(H _(J) _(I) _(,I) ,q _(J) _(I) _(,I) ^(n)),∀n∈T ^(w) ,∀I∈Ω  (12), wherein H_(j,I) ^(n) represents a water level of channel I at the point (j, n); q_(j,I) ^(n) represents a flow rate of the channel I at the point (j, n); H_(j,I) ⁰ represents a water level of the channel I at point (j, 0); q_(j,I) ⁰ represents a flow rate of the channel I at the point (j, 0); Ω represents a channel set; H_(I) ^(ini)(x) represents a given initial water level of the channel I along direction x; q_(I) ^(ini)(x) represents a given initial flow rate of the channel I along the direction x; ƒ₁ ^(u) represents an upstream boundary condition of the channel I; ƒ_(I) ^(d) represents a downstream boundary condition of the channel I, L_(I) ^(w)={0, 1, 2, . . . , J_(I)}, representing a spatial index set of the channel I; and J_(I) represents a maximum spatial index of the channel I; limiting flow rate and water level respectively to a preset range, expressed as: Q _(I) ^(min) ≤B _(I) q _(j,I) ^(n) ≤Q _(I) ^(max) ,H _(I) ^(min) ≤H _(j,I) ^(n) ≤H _(I) ^(max) ,∀I∈Ω,∀n∈T ^(w) ,∀j∈L _(I) ^(w)  (13), wherein B_(I) represents a width of the channel I; Q_(I) ^(max) represents an upper bound of the flow rate of the channel I; H_(I) ^(max) represents an upper bound of the water level of the channel I; Q_(I) ^(min) represents a lower bound of the flow rate of the channel I; and H_(I) ^(min) represents a lower bound of the water level of the channel I; and water levels of channels are the same at a confluent node z, expressed as: H _(j,m) ^(n) =H _(j,i) ^(n) ,∀m∈Ω _(z+) ,∀i∈Ω _(z−) ,∀n∈T ^(w) ,∀z∈Z  (14); and considering that an inflow of the confluent node z is equal to an outflow of the confluent node z according to mass conservation principle, deducing equation (15): $\begin{matrix} {{{{\sum\limits_{m \in \Omega_{z +}}{q_{J_{m},m}^{n}B_{m}}} + {\sum\limits_{k \in P_{z}}{\alpha_{k,n}^{p}q_{k,n}^{p}}}} = {\sum\limits_{i \in \Omega_{z -}}{q_{0,i}^{n}B_{i}}}},{\forall{n \in T^{w}}},{{\forall{z \in Z}};}} & (15) \end{matrix}$ wherein Z represents a confluent node set of the watershed network; Ω_(z+) represents a set of channels that flow into the confluent node z; Ω_(z−) represents a set of channels that flow out from the confluent node z; q_(k,n) ^(p) represents a flow rate of a pump station k at time n; P_(z) represents a set of pump stations connected to the confluent node z; α_(k,n) ^(p)∈{−1,1} is a given value; α_(k,n) ^(p)=−1 denotes that the pump station k is configured to pump water at time n; α_(k,n) ^(p)=1 denotes that the pump station k is configured to drain water at time n; m represents a channel number index; q_(J) _(m) _(,m) ^(n) represents a flow rate per unit width of channel m at point (J_(m), n); B_(m) represents a width of the channel m; B_(i) represents a width of channel i; and q_(0,i) ^(n) represents a flow rate per unit width of the channel i at point (0, n).
 12. The method of claim 11, wherein step (b) comprises: obtaining a water storage volume S_(I,c) ^(n) of the channel I at time n, expressed as: $\begin{matrix} {{S_{I,c}^{n} = {\sum\limits_{j = 0}^{J_{I} - 1}{\frac{\left( {H_{j,I}^{n} + H_{{j + 1},I}^{n}} \right)}{2}B_{I}\Delta x}}},{\forall{I \in \Omega}},{{\forall{n \in T^{w}}};}} & (16) \end{matrix}$ wherein the water storage volume S_(I,c) ^(n) is limited to a preset range, expressed as: S _(I,c,min) ^(n) ≤S _(I,c) ^(n) ≤S _(I,c,max) ^(n) ,∀I∈Ω,∀n∈T ^(w)  (17), wherein H_(j,I) ^(n) represents a water level of the channel I at the point (j, n); B_(I) represents a width of the channel I; S_(I,c,min) ^(n) represents a minimum water storage volume of the channel I; S_(I,c,max) ^(n) represents a maximum water storage volume of the channel I; J_(I) represents a maximum spatial index of the channel I; acquiring a relationship between water discharge and water level of lake k at each period, expressed as: $\begin{matrix} {{{A_{k,a}\frac{H_{k,a}^{n + 1} - H_{k,a}^{n}}{\Delta t}} = \begin{Bmatrix} {r_{k}^{n}\left( {A_{k,a} + {\alpha_{k,a}F_{k,a}}} \right.} \\ {- {\sum\limits_{i \in k_{p}}{\alpha_{i,n}^{p}q_{i,n}^{p}}}} \end{Bmatrix}},{\forall{k \in K}},{{\forall{n \in T^{w}}};}} & (18) \end{matrix}$ acquiring a current volume of the lake k, expressed as: S _(k,a) ^(n) =A _(k,a) H _(k,a) ^(n) ,∀k∈K,∀n∈T ^(w)  (19); and acquiring a constraint for secure operation of the lake k, expressed as: S _(k,a,min) ≤S _(k,a) ^(n) ≤S _(k,a,max) ,∀k∈K,∀n∈T ^(w)  (20); wherein A_(k,a) represents an area of the lake k; H_(k,a) ^(n) represents a water level of the lake k at time n; α_(k,a) represents a runoff coefficient of the lake k; F_(k,a) represents a catchment area of the lake k; S_(k,a) ^(n) represents a water storage volume of the lake k at time n; S_(k,a,min) represents a minimum water storage volume of the lake k; S_(k,a,max) represents a maximum water storage volume of the lake k; K represents a lake set; k_(p) represents a set of pump stations connected to the lake k; q_(i,n) ^(p) represents a flow rate of the pump station i at time n; r_(k) ^(n) represents a rainfall intensity at the lake k at time n; and α_(i,n) ^(p) represents an operation state of the pump station i at time n.
 13. The method of claim 12, wherein step (c) comprises: constructing the distribution network linear AC power flow model to characterize power flow constraints, generator operating constraints and bus power balance constraints; wherein an active power flow of line ij is expressed as: $\begin{matrix} {{P_{{ij},n} = {{\frac{r_{ij}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}}}},{{\forall{n \in T^{*}}};}} & (21) \end{matrix}$ a reactive power flow of the line ij is expressed as: $\begin{matrix} {{Q_{{ij},n}^{e} = {{\frac{{- r_{ij}}x_{ij}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {\delta_{i,n} - \delta_{j,n}} \right)}{x_{ij}}} + {\frac{x_{ij}^{2}}{r_{ij}^{2} + x_{ij}^{2}} \cdot \frac{\left( {V_{i,n} - V_{j,n}} \right)}{x_{ij}}}}},{{\forall{n \in T^{*}}};}} & (22) \end{matrix}$ wherein r_(ij) represents a resistance of the line ij; x_(ij) represents a reactance of the line ij; P_(ij,n) represents an active power flowing from bus i to bus j at time n; Q_(ij,n) ^(e) represents a reactive power flowing from the bus i to the bus j at time n; δ_(j,n) represents a phase angle of the bus j at time n; V_(j,n) represents a voltage amplitude of the bus j at time n; δ_(i,n) represents a phase angle of the bus i at time n; V_(i,n) represents a voltage amplitude of the bus i at time n; and T*={1, 2, . . . , N}, representing a time index set of the urban distribution network; and the reactive power flow and the active power flow of the line ij and the voltage amplitude of the bus j satisfy the following security constraints: $\begin{matrix} \left\{ {\begin{matrix} {{- S_{ij}} \leq P_{{ij},n} \leq S_{ij}} \\ {{- S_{ij}} \leq Q_{{ij},n}^{e} \leq S_{ij}} \end{matrix},\ {{\forall{n \in T^{*}}};\ {and}}} \right. & (23) \end{matrix}$ $\begin{matrix} {{V_{j}^{\min} \leq V_{j,n} \leq V_{j}^{\max}},{{\forall{n \in T^{*}}};}} & (24) \end{matrix}$ wherein S_(ij) represents a rated apparent power capacity of the line ij; V_(j) ^(min) represents a minimum voltage allowed for the bus j; and V_(j) ^(max) represents a maximum voltage allowed for the bus j; acquiring an output power limit of the distributed generator g, expressed as: P _(g,min) ^(CDG) ≤P _(g,n) ^(CDG) ≤P _(g,max) ^(CDG) ,∀g∈G,∀n∈T*  (25); acquiring a ramp limit of the distributed generator g, expressed as: R _(g,down) ^(CDG) ≤P _(g,n) ^(CDG) −P _(g,n−1) ^(CDG) ≤R _(g,up) ^(CDG) ,∀g∈G,∀n∈T*  (26); acquiring a capacity limit of the distributed generator g, expressed as: $\begin{matrix} \left\{ {\begin{matrix} {{- S_{g}^{CDG}} \leq P_{g,n}^{CDG} \leq S_{g}^{CDG}} \\ {{- S_{g}^{CDG}} \leq Q_{g,n}^{CDG} \leq S_{g}^{CDG}\text{  }} \end{matrix},{\forall{g \in G}},{{\forall{n \in T^{*}}};}} \right. & (27) \end{matrix}$ acquiring power balance constraints for buses, expressed as: ∑ ij ∈ Λ j + ⁢ m P i ⁢ j , n + ∑ g ∈ G j P g , n C ⁢ D ⁢ G - ∑ p ∈ P j P p , n fle - ∑ p ∈ P j P p , n P - P j , n load = ∑ j ⁢ k ∈ Λ j - P j ⁢ k , n , ∀ j ∈ J , ∀ n ∈ T * ; and ( 28 ) ∑ i ⁢ j ∈ Λ j + ⁢ m Q ij , n e + ∑ g ∈ G j Q g , n C ⁢ D ⁢ G - ∑ p ∈ P j Q p , n p - Q j , n load = ∑ j ⁢ k ∈ Λ j - Q jk , n , ∀ j ∈ J , ∀ n ∈ T * ; ( 29 ) wherein P_(g,n) ^(CDG) represents an active power generated by the distributed generator g at time n; Q_(g,n) ^(CDG) represents a reactive power generated by the distributed generator g at time n; P_(g,max) ^(CDG) represents a maximum allowable output power of the distributed generator g; P_(g,min) ^(CDG) represents a minimum allowable output power of the distributed generator g; R_(g,up) ^(CDG) represents a maximum allowable ramp rate of the distributed generator g; R_(g,down) ^(CDG) represents a minimum allowable ramp rate of the distributed generator g; G represents a distributed generator set; G_(j) represents a set of distributed generators connected to the bus j; P_(j) represents a set of pump stations connected to the bus j; J represents a bus set of the urban distribution network; Λ_(j+) represents a set of lines whose power flows into the bus j; Λ_(j−) represents a set of lines whose power flows out from the bus j; P_(j,n) ^(load) represents an active load at the bus j except for a pump station load at time n; Q_(j,n) ^(load) represents a reactive load at the bus j except for the pump station load at time n; P_(p,n) ^(fle) represents a flexibility amount offered by pump station p at time n; S_(g) ^(CDG) is a rated apparent capacity for the distributed generator g; P_(j,k) ^(n) represents an active power flow on line jk at time n; Q_(ij,n) ^(e) represents a reactive power flow on the line ij at time n; P_(p,n) ^(p) represents an active load of the pump station p at time n; Q_(p,n) ^(p) represents a reactive load of the pump station p at time n; and P_(ij,n) represents an active power flow on the line ij at time n.
 14. The method of claim 13, wherein step (c) further comprises: acquiring an operating power-flow rate relationship for pump stations, expressed as: $\begin{matrix} {{P_{i,n}^{p} = \frac{\rho gH_{i}^{st}q_{i,n}^{p}}{1000\eta_{i}^{p}}},{\forall{i \in P}},{{\forall{n \in T^{*}}};}} & (30) \end{matrix}$ acquiring pump station power limits, expressed as: −R _(i) ^(p) ≤P _(i,n) ^(p) −P _(i,n−1) ^(p) ≤R _(i) ^(p) ,∀i∈P,∀n∈T*  (31); and P _(i,min) ^(p) ≤P _(i,n) ^(p) ≤P _(i,max) ^(p) ,∀i∈P,∀n∈T*  (32); and acquiring a pump station reactive load constraint, expressed as: Q _(i,n) ^(p) =P _(i,n) ^(p) tan(arccos(ϕ_(i) ^(p))),∀i∈P,∀n∈T*  (33); wherein P represents a set of pump stations in the watershed network; P_(i,n) ^(p) represents an active load of the pump station i at time n; Q_(i,n) ^(p) represents a reactive load of the pump station i at time n; η_(i) ^(p) represents an operation efficiency of the pump station i; R_(i) ^(p) represents a maximum ramp rate of the pump station i; H_(i) ^(st) represents a water head of the pump station i; ρ is water density; P_(i,min) ^(p) represents a lower bound of the reactive load of the pump station i; P_(i,max) ^(p) represents an upper bound of the active load of the pump station i; and ϕ_(i) ^(p) is a power factor of the pump station i.
 15. The method of claim 14, wherein step (d) comprises: based on Taylor series expansion, expanding equations (6) and (7) into: $\begin{matrix} {{{f_{\{{1,2}\}}\begin{Bmatrix} {{H_{j + 1}^{n} + {\Delta H_{j + 1}}},} \\ {{H_{j}^{n} + {\Delta H_{j}}},} \\ {{q_{j + 1}^{n} + {\Delta q_{j + 1}}},} \\ {q_{j}^{n} + {\Delta q_{j}}} \end{Bmatrix}} = \begin{Bmatrix} {{f_{\{{1,2}\}}\left( {H_{j + 1}^{n},H_{j}^{n},q_{j + 1}^{n},q_{j}^{n}} \right)} + {\frac{\partial f_{\{{1,2}\}}}{\partial H_{j + 1}^{n}}\Delta H_{j + 1}}} \\ {{{+ \frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}}\Delta H_{j}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j + 1}^{n}}\Delta q_{j + 1}} + {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\Delta q_{j}}} \end{Bmatrix}};} & (34) \end{matrix}$ wherein ƒ_({1,2}) represents a collective name for defined functions ƒ₁ and ƒ₂; subscripts 1 and 2 of the f_({1,2}) represent selection of function ƒ₁ or function ƒ₂; ΔH_(j) represents a variation of a water level at point (j, n) after adjusting a pump station power; H_(j) ^(n) represents a water level at the point (j, n); Δq_(j) represents a variation of a flow rate at the point (j, n) after adjusting the pump station power; and q_(j) ^(n) represents a flow rate at the point (j, n); acquiring a sensitivity matrix of individual channels under different disturbances at time n, expresses as: $\begin{matrix} {{{\underset{M}{\underset{︸}{\begin{bmatrix} a_{0} & b_{0} & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{1} & b_{1} & c_{1} & d_{1} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ a_{2} & b_{2} & c_{2} & d_{2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{3} & b_{3} & c_{3} & d_{3} & \ldots & 0 & 0 & 0 & 0 \\ 0 & 0 & a_{4} & b_{4} & c_{4} & d_{4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 3} & b_{{2J} - 3} & b_{{2J} - 3} & d_{{2J} - 3} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & a_{{2J} - 2} & b_{{2J} - 2} & c_{{2J} - 2} & d_{{2J} - 2} \\ 0 & 0 & 0 & 0 & 0 & 0 & \ldots & 0 & 0 & c_{2J} & d_{2J} \end{bmatrix}}}\underset{\Delta X}{\underset{︸}{\begin{bmatrix} {\Delta H_{0}} \\ {\Delta q_{0}} \\ {\Delta H_{1}} \\ {\Delta q_{1}} \\  \vdots \\ {\Delta H_{J - 1}} \\ {\Delta q_{J - 1}} \\ {\Delta H_{J}} \\ {\Delta q_{J}} \end{bmatrix}}}} = \underset{F}{\underset{︸}{\begin{bmatrix} F_{1} \\ F_{2} \\ F_{3} \\ F_{4} \\  \vdots \\ F_{{2J} - 3} \\ F_{{2J} - 2} \\ F_{{2J} - 1} \\ F_{2J} \end{bmatrix}}}};} & (35) \end{matrix}$ wherein M represents a sensitivity coefficient matrix; ΔX represents a variation matrix of water level and flow rate at points; F represents a constant matrix at a current time; elements in the M and elements in the F are constants; the elements in the M are partial derivatives of water level and flow rate at time n; the elements in the F are products of space-time difference results of the ƒ₁ or ƒ₂ and −Dt; a₀, b₀ and F₁ are determined by the upstream boundary condition; and c_(2J), d_(2J) and F_(2J) are determined by the downstream boundary condition; and the elements in the M are obtained through the following equation: $\begin{matrix} \left\{ {\begin{matrix} {{a_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j - 1}^{n}}},{b_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j - 1}^{n}}},{c_{{2j} - 1} = \frac{\partial f_{1}}{\partial H_{j}^{n}}},{d_{{2j} - 1} = \frac{\partial f_{1}}{\partial q_{j}^{n}}}} \\ {{a_{2j} = \frac{\partial f_{2}}{\partial H_{j - 1}^{n}}},{b_{2j} = \frac{\partial f_{2}}{\partial q_{j - 1}^{n}}},{c_{2j} = \frac{\partial f_{2}}{\partial H_{j}^{n}}},{d_{2j} = \frac{\partial f_{2}}{\partial q_{j}^{n}}\ }} \\ {{a_{0} = \frac{\partial f^{u}}{\partial H_{0}^{n}}},{b_{0} = \frac{\partial f^{u}}{\partial q_{0}^{n}}},{c_{2J} = \frac{\partial f^{d}}{\partial H_{J}^{n}}},{d_{2J} = \frac{\partial f^{d}}{\partial q_{J}^{n}}}} \end{matrix};} \right. & (36) \end{matrix}$ obtaining a relationship between a power increment of a pump station and a flow rate increment at point (j, n) where the pump station is located through equations (37) and (38): $\begin{matrix} {{\frac{\partial f_{\{{1,2}\}}}{\partial P_{P_{I},n}^{p}} = {\frac{\partial f_{\{{1,2}\}}}{\partial q_{j}^{n}}\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}}},{and}} & (37) \end{matrix}$ $\begin{matrix} {{{\frac{\partial q_{j}^{n}}{\partial q_{P_{I},n}^{p}}\frac{\partial q_{P_{I},n}^{p}}{\partial P_{P_{I},n}^{p}}} = \frac{1000\eta_{P_{I}}^{p}}{B_{I}\rho{gH}_{P_{I}}^{st}}},} & (38) \end{matrix}$ wherein P_(I) represents index of a pump station connected to the channel I; ∂ƒ_({1,2})/∂P_(P) _(I) _(,n) ^(p) represents a partial derivative of ƒ₁ or ƒ₂ with respect to P_(P) _(I) _(,n) ^(p); P_(P) _(I) _(,n) ^(p) represents an active load of the pump station P_(I) at time n; q_(P) _(I) _(,n) ^(p) represents a flow rate of the pump station P_(I) at time n; H_(P) _(I) ^(st) represents a water head of the pump station P_(I); η_(P) _(I) ^(p) represents an operation efficiency of the pump station P_(I); plugging the equations (37) and (38) into the sensitivity matrix to expand the M into M′, such that the watershed-electricity composite sensitivity matrix of individual channels is expressed as: $\begin{matrix} {{{\underset{M^{\prime}}{\underset{︸}{\begin{bmatrix} Z_{1,1} & Z_{1,2} & 0 & 0 & \ldots & 0 & 0 & 0 & 0 \\ Z_{2,1} & Z_{2,2} & Z_{2,3} & Z_{2,4} & \ldots & 0 & 0 & 0 & 0 \\ Z_{3,1} & Z_{3,2} & Z_{3,3} & Z_{3,4} & \ldots & 0 & 0 & 0 & 0 \\  \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & \ldots & Z_{4,1} & Z_{4,2} & Z_{4,3} & Z_{4,4} \\ 0 & 0 & 0 & 0 & \ldots & Z_{5,1} & Z_{5,2} & Z_{5,3} & Z_{5,4} \\ 0 & 0 & 0 & 0 & \ldots & 0 & 0 & {Z_{6,1}}_{} & Z_{6,2} \end{bmatrix}}}\underset{\Delta X^{\prime}}{\underset{︸}{\begin{bmatrix} {\Delta H_{0}} \\ {\Delta P_{I}^{p,u}} \\ {\Delta H_{1}} \\ {\Delta q_{1}} \\  \vdots \\ {\Delta H_{J - 1}} \\ {\Delta q_{J - 1}} \\ {\Delta H_{J}} \\ {\Delta P_{I}^{p,d}} \end{bmatrix}}}} = \underset{F}{\underset{︸}{\begin{bmatrix} F_{1} \\ F_{2} \\ F_{3} \\ F_{4} \\  \vdots \\ F_{{2J} - 3} \\ F_{{2J} - 2} \\ F_{{2J} - 1} \\ F_{2J} \end{bmatrix}}}},} & (39) \end{matrix}$ wherein M′ represents a sensitivity coefficient expansion matrix; ΔX′ represents a variation expansion matrix of water level and flow rate; F represents a constant matrix at a current time; the elements in the F are products of the space-time difference results of the ƒ₁ or ƒ₂ and −Dt; ΔP_(I) ^(p,u) represents a power increment of a pump station located upstream of the channel I; ΔP_(I) ^(p,d) represents a power increment of a pump station located downstream of the channel I; ${Z_{1,1} = \frac{\partial f^{u}}{\partial H_{0}}};{Z_{1,2} = {\frac{\partial f^{u}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};$ ${Z_{2,1} = \frac{\partial f_{1}}{\partial H_{0}}};{Z_{2,2} = {\frac{\partial f_{1}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{2,3} = \frac{\partial f_{1}}{\partial H_{1}}};{Z_{2,4} = \frac{\partial f_{1}}{\partial q_{1}}};$ ${Z_{3,1} = \frac{\partial f_{1}}{\partial q_{1}}};{Z_{3,2} = {\frac{\partial f_{2}}{\partial q_{0}}\frac{\partial q_{0}}{\partial q_{I}^{p,u}}\frac{\partial q_{I}^{p,u}}{\partial P_{I}^{p,u}}}};{Z_{3,3} = \frac{\partial f_{2}}{\partial H_{1}}};{Z_{3,4} = \frac{\partial f_{2}}{\partial q_{1}}};$ ${Z_{4,1} = \frac{\partial f_{1}}{\partial H_{J - 2}}};{Z_{4,2} = \frac{\partial f_{1}}{\partial q_{J - 2}}};{Z_{4,3} = \frac{\partial f_{1}}{\partial H_{J - 1}}};$ ${Z_{4,4} = {\frac{\partial f_{1}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ ${Z_{5,1} = \frac{\partial f_{2}}{\partial H_{J - 2}}};{Z_{5,2} = \frac{\partial f_{2}}{\partial q_{J - 2}}};{Z_{5,3} = \frac{\partial f_{2}}{\partial H_{J - 1}}};$ ${Z_{5,4} = {\frac{\partial f_{2}}{\partial q_{J - 1}}\frac{\partial q_{J - 1}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ ${Z_{6,1} = \frac{\partial f^{d}}{\partial H_{J}}};{Z_{6,2} = {\frac{\partial f^{d}}{\partial q_{J}}\frac{\partial q_{J}}{\partial q_{I}^{p,d}}\frac{\partial q_{I}^{p,d}}{\partial P_{I}^{p,d}}}};$ q_(I) ^(p,u) represents a flow rate of the pump station located upstream of the channel I, q_(I) ^(p,d) represents a flow rate of the pump station located downstream of the channel I, P_(I) ^(p,u) represents an active load of the pump station located upstream of the channel I; and P_(I) ^(p,d) represents an active load of the pump station located downstream of the channel I; and combining sensitivity matrices of all channels in the watershed network to obtain the watershed-electricity composite sensitivity matrix of the watershed network, expressed as: $\begin{matrix} {{{\begin{bmatrix} M_{1}^{\prime} & 0 & 0 & \ldots & 0 & 0 \\ 0 & M_{2}^{\prime} & 0 & \ldots & 0 & 0 \\ 0 & 0 & \ddots & \ldots & 0 & 0 \\ 0 & \ldots & 0 & M_{1}^{\prime} & \ldots & 0 \\ 0 & \ldots & \ldots & \ldots & \ddots & 0 \\ 0 & 0 & \ldots & 0 & 0 & M_{I_{*}}^{\prime} \end{bmatrix}\begin{bmatrix} {\Delta X_{1}^{\prime}} \\ {\Delta X_{2}^{\prime}} \\  \vdots \\ {\Delta X_{I}^{\prime}} \\  \vdots \\ {\Delta X_{I_{*}}^{\prime}} \end{bmatrix}} = \begin{bmatrix} F_{1} \\ F_{2} \\  \vdots \\ F_{I} \\  \vdots \\ F_{I_{*}} \end{bmatrix}};} & (40) \end{matrix}$ wherein M′_(I) represents a sensitivity coefficient expansion matrix of the channel I; ΔX′_(I) represents ΔX′ of the channel I, which represents a variation expansion matrix of water level and flow rate of the channel I; F_(I) represents F of the channel I; and I* represents the number of channels in the watershed network.
 16. The method of claim 15, wherein step (g) comprises: (g1) initializing the coordinated operation model, wherein a current scheduling period is set to n=1; a scheduling duration is 24 h; Dx of individual channels in the watershed network is set to 100 m; and Dt is set to 1 h; (g2) inputting parameters to the coordinated operation model, wherein the parameters comprise topological information of the watershed network, a width B_(I) of each channel, a length L_(I) of each channel, water level H_(j,I) ^(n−1) and flow rate q_(j,I) ^(n−1) of each channel in the watershed network at time n−1, an operation state of each of the one or more pump stations at time n−1, a power P_(i,n−1) ^(p) of each pump station at time n−1, topological information of the urban distribution network, load information of each bus, and an operation state and power of each of the one or more distributed generators in the urban distribution network at time n−1; and H_(j,I) ^(n−1) and q_(j,I) ^(n−1) are taken as initial conditions of the watershed network; (g3) optimizing a load of each of the one or more pump stations and a hydraulic energy flow of each channel in the watershed network at the current scheduling period based on the hydraulic energy flow optimization model, so as to obtain an optimal operating power P_(i,n) ^(p) of each of the one or more pump stations at the current scheduling period; (g4) calculating a time-varying adjustable flexible power domain [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each of the one or more pump stations based on the flexibility assessment method; and transmitting the P_(i,n) ^(p) and the [P_(i,n) ^(fle,min),P_(i,n) ^(fle,max)] of each of the one or more pump stations to the urban distribution network; (g5) calculating and optimizing a flexible power P_(i,n) ^(fle) of each of the one or more pump stations required by the urban distribution network based on the power flow optimization model; transmitting the P_(i,n) ^(fle) to each of the one or more pump stations; and paying an incentive fee to each of the one or more pump stations in the watershed network; (g6) receiving the P_(i,n) ^(fle) by the watershed network; adjusting the P_(i,n) ^(p) of each of the one or more pump stations to P_(i,n) ^(p)+P_(i,n) ^(fle) to calculate a watershed network hydraulic energy flow, so as to update a water level and flow rate at each point in the watershed network at time n; and (g7) determining whether the electricity-water energy flow interactive optimization is finished through steps of: letting n=n+1, and determining whether n≤24; if yes, returning to step (g2); otherwise, ending the electricity-water energy flow interactive optimization. 